Posted 26 May 2003 - 01:47 AM
Ive loaded my page in XHTML but i get this error
Parse error: parse error, unexpected T_STRING in c:webzork.htm on line 1
My server is on my home pc so its localhost....
Please any Help
Posted 26 May 2003 - 12:39 PM
Posted 27 May 2003 - 05:00 PM
Line 1 (and several more) could be useful.
Posted 27 May 2003 - 05:16 PM
it says parse error on line one... is the line one containing something like <?xml ?
If it is, PHP is trying to parse XML content... because of the short tag <? may be accepted by your php.ini configuration. To solve that, you may try to output the first line with PHP itself:
<?php echo \'<?xml ... ?>\'; ?>If this works, then this is not necessary to submit part of your code. ;)
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users