Forum Moderators: coopster
Here is my code.
<?
$name = "Sam" ;
echo "Hello, my name is $name. This is my first example of working with php <br/>"
$time = "Seven twenty two" ;
echo "The time is $time <br/>" ;
?>
See, something simple. I basically tried to make my name and the time a $variable and use it in a sentence.
Now when I put it on my server, I get this error.
Parse error: parse error, unexpected T_VARIABLE, expecting ',' or ';' in /home/sammart/public_html/index.php on line 4
So I look on line 4 for something strange, and I can't see anything wrong.
Thanks for any help,
Sam