Posted by Fragemann on 12/10/06 21:21
Hi all,
I installed Apache, enabled PHP and made sure that MySQL
starts when I boot up.
Now I am seeing a bizarre problem. The following HTML
produces the wrong response from PHP. How to fix?
<html>
<?
print ('this is a test ') ;
// abc 123
?>
Result in Firefox:
this is a test '); // abc123 ?>
(The same happens if I use <?PHP and if I put
the string in double quotes.)
Thus I ask, is it normal for PHP to begin
processing normally but when just ignore
the second quote character, be it single or double?
Thanks.
[Back to original message]
|