Welcome Guest, Not a member yet? Register   Sign In
i need a help to read jsaon data
#1

[eluser]Unknown[/eluser]
hi all,

i need a help.

<code>
a:2:{s:15:"date_last_login";a:2:{s:3:"was";N;s:2:"is";s:19:"2012-02-23 05:31:45";}s:8:"key_desc";N;}
</code>
how to read these type of data in php..



Thanks in Advance
Deva
#2

[eluser]mejlo[/eluser]
Php func. unserialize
#3

[eluser]InsiteFX[/eluser]
Or use json_decode which will put it back into an array.
#4

[eluser]mejlo[/eluser]
[quote author="InsiteFX" date="1341658205"]Or use json_decode which will put it back into an array.
[/quote]
i dont think... its json encoded data? or php serialized...
#5

[eluser]InsiteFX[/eluser]
Yep it is strange like the semicolons ; in it.




Theme © iAndrew 2016 - Forum software by © MyBB