Pi-Sudoku
03-20-06, 01:48 PM
i wrote the following PHP code
<?php
$var1 = 1;
echo $var1
?>
and was told
Parse error: syntax error, unexpected T_LNUMBER, expecting T_VARIABLE or '$' in /usr/home/gowers/public_html/gentest2.php on line 9
have i made some ridiculous fundamental mistake?
<?php
$var1 = 1;
echo $var1
?>
and was told
Parse error: syntax error, unexpected T_LNUMBER, expecting T_VARIABLE or '$' in /usr/home/gowers/public_html/gentest2.php on line 9
have i made some ridiculous fundamental mistake?