I have been trying to use someone elses code to start learning PHP, they claim their code works fine but when I try it it does not. Basically it is trying to display a record from a MySql database that has been assigned to a variable
this does not display the date for me:
Code: Select all
<td align="center"><h2><font color="#009900">Sunday, <?=$SB_DATE?></font></h3></td>
Code: Select all
<?php
<td align="center"><h2><font color="#009900">Sunday, <?php
echo $SB_DATE;
?></font></h3></td>
?>
Is there an issue with which version I am using or is it the fact I am using PHP on Windows ?
Thanks for any help