About Ajax
Process is this: first by the front desk PHP page to the JS file, JS file to the Background processing page, after processing the return of four arrays to JS page. Now want to pass these 4 arrays to the foreground PHP page, do not know what to do here, give a thought, or related information, thank you
------Solution--------------------
Serialization of the array,
PHP code
$arr =array (1,2,3,4), $NRR =serialize ($arr);
------Solution--------------------
Halo, make so complicated to do what, since the end result is php->php then use the session to register your four array, the front desk directly use!
------Solution--------------------
Explore
Reference:
Serialization of the array, PHP Code$arr=array (1,2,3,4), $NRR =serialize ($arr);
Receive Polygon page
PHP code$arr=unserialize ($NRR);
I now JS can receive the background PHP transfer value problem is how to pass the JS array to the foreground page php
------Solution--------------------
The value to be passed on the server is first assigned to a data, then Json_encode () after the output
Then JS can be converted and then directly call the