how to get a xml rsp stat value in php? [closed]

hol1121

New Member
\[code\] <?xml version="1.0" encoding="utf-8"?> <rsp stat="ok"> <cell lat="50.5715642160311" mcc="250" lon="25.2897075399231" cellId="29513" nbSamples="57" mnc="99" lac="0" range="6000"/> </rsp>\[/code\]I'm calling the XML code through PHP get the stat value in PHP.Above code get the \[code\]<rsp stat="ok">\[/code\] or \[code\]<rsp stat="fail">\[/code\] rsp stat value \[code\]ok\[/code\] or rsp stat value \[code\]fail\[/code\]? And also get a cell \[code\]lat\[/code\] or err info "cell not found" and code value 1.
 
Back
Top