parse error unexpected t string

<?xml version="1.0" encoding="UTF-8"?>

i run this in php

and
get error
parse error unexpected t string
LVL 1
rgb192Asked:
Who is Participating?
 
wuyinzhiCommented:
it's not PHP, it's XML http://www.w3schools.com/XML/xml_encoding.asp
if you want to write it from PHP,  you should write:

<?

echo '<?xml version="1.0" encoding="UTF-8"?>';

?>
0
 
rgb192Author Commented:
thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.