I have a javascript code that sends a data to my php file…
a sample value of this is:
array(
array('story_name'=>'mystory', 'priority'=>1),
array('story_name'=>'mystory2', 'priority'=>2)
)
so my question is how can i convert this string into the same format of php array so that i can append this to my queries?
Use JSON: