> To: php-general@lists.php.net> Date: Sun, 24 Feb 2008 20:53:03 +0200> From: 
> [EMAIL PROTECTED]> Subject: [PHP] PHPTriad and php error> > hi to all,> I set 
> up phptriad on my computer running windows xp. When I tried to > test php 
> with the following program I got an error "Parse error: parse > error, 
> expecting `','' or `';'' in C:\apache\htdocs\mytest.php on line 10"> > 
> <html>> <head>> <title>PHP Test</title>> </head>> <body>> <p>This is an HTML 
> line> <p>> <?php> > echo “This is a PHP line”;> phpinfo();> ?>> 
> </body></html>> > what is the reason?> > p.s. phpinfo.php which comes with 
> the installation executes correctly.> > -- > PHP General Mailing List 
> (http://www.php.net/)> To unsubscribe, visit: http://www.php.net/unsub.php> 
 
Use proper quotes (single or double as long as you are consistent) to wrap the 
text. That is what the error is telling you.
 
Note that when using quotes, double quotes will eveluate php variables 
correctly, while single quotes treat them as text.
 
bastien
_________________________________________________________________

Reply via email to