can't read XML via PHP
- by jasmine
I can't find the reason, only see the following error message.
Input is not proper UTF-8, indicate encoding ! Bytes: 0x00 0x5D 0x5D 0x3E
the followings are my php code
$reader2 = new XMLReader();
$reader2->XML($xmlstring);
$user_data="";
while ($reader2->read()) {
if ($reader2->name == "user_id" && $reader2->nodeType ==…