I have this Error Warning:simplex ml_load_string( )expects parameter 1 to be string i use $xml=simplexml_ load_string($Re sult->Components) but I have also this error Warning:simplex ml_load_string( )expects parameter 1 to be string var_dump($Resul t)
How can i parse this object by simplexml
Thanks in advance
Code:
object(stdClass)[94] public 'JobNumber' => int 79593 public 'JobStatus' => string 'INVOICED' (length=8) public 'ThirdPartyCode' => string 'CB0071' (length=6) public 'CustomerName' => string 'BECK CRESPEL' (length=12) public 'CustomerName_' => string '' (length=0) public 'Reference' => int 1169910 public 'ContactSeq' => string '106798' (length=6) public 'Quantity' => int 200 public 'Product' => string 'BRW' (length=3) public 'Units' => int 0
Thanks in advance
Comment