I am used to coding in basic ASP code, and I set variables like so:
<% dim variable1 %>
<% variable1 = "name goes here" %>
And then, on any page, I can use code like this:
And it will out put "name goes here." I want to do this same thing in PHP, but I'm having trouble.
Here is the code that I wrote:
$event1_month = "May";
$event1_day = "05";
$event1_title = "Candidate Filling Period Ends";
And on a page, I have this code:
<?php echo $event1_day; ?>
But it is not outputting anything. Can someone show me how to correct this and get it working how I want?