I am used to coding in basic ASP code, and I set variables like so:
And then, on any page, I can use code like this:
<% dim variable1 %>
<% variable1 = "name goes here" %>
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:
And on a page, I have this code:
$event1_month = "May";
$event1_day = "05";
$event1_title = "Candidate Filling Period Ends";
But it is not outputting anything. Can someone show me how to correct this and get it working how I want?
<?php echo $event1_day; ?>