binar binar - 2 years ago 196
PHP Question

How to parse javascript array in php

One of queries on my webpage returned var that include data from link:

I think its a javascript array saved in mysql DB, but how to parse it in php controller ?

Answer Source

Its serializa data , use unserialize and you can use it

$_data = unserialize($your_data); 
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download