Welcome Guest, Not a member yet? Register   Sign In
json_encode and decode help
#1

[eluser]NachoF[/eluser]
I have been building my app and it uses json_encode to provide ajax data and many places.
Now I learned that the server will be php 5.1.6 which doesnt suppor these methods... what can I do!?
#2

[eluser]LuckyFella73[/eluser]
Hi NachoF,

in case your data is not too complex you can manually
build your json data and return it via echo. I even read
that there is a library out there which can do that for
you. For flat results it's pretty easy to do it yourself.
#3

[eluser]Clooner[/eluser]
Or switch to using serialize and unserialize instead of json_encode / decode...




Theme © iAndrew 2016 - Forum software by © MyBB