i need help in php and xml writing
Posted: Mon Feb 01, 2010 8:26 am
hello
i need to feed flash by data in spadific form
like this <title><![CDATA[NEWS 4]]></title>
i write this line
$title = $doc->createElement("<![CDATA[NEWS 4]]>");
I got this error
Fatal error: Uncaught exception 'DOMException' with message 'Invalid Character Error' in G:\AppServ\www\ROTATOEGYPT\Untitled-4.php:36 Stack trace: #0 G:\AppServ\www\ROTATOEGYPT\Untitled-4.php(36): DOMDocument->createElement('<![CDATA[NEWS 4...') #1 {main} thrown in G:\AppServ\www\ROTATOEGYPT\Untitled-4.php on line 36
what can i do?
i need to feed flash by data in spadific form
like this <title><![CDATA[NEWS 4]]></title>
i write this line
$title = $doc->createElement("<![CDATA[NEWS 4]]>");
I got this error
Fatal error: Uncaught exception 'DOMException' with message 'Invalid Character Error' in G:\AppServ\www\ROTATOEGYPT\Untitled-4.php:36 Stack trace: #0 G:\AppServ\www\ROTATOEGYPT\Untitled-4.php(36): DOMDocument->createElement('<![CDATA[NEWS 4...') #1 {main} thrown in G:\AppServ\www\ROTATOEGYPT\Untitled-4.php on line 36
what can i do?