Jump to content

is there any way to export data from php to javascript and using ajax to grab it


darksniperx

Recommended Posts

I was thinking of json, but the server what i am trying to do it is running php 5.1.6, but json_encode needs 5.2.0.

 

i wonder if there is anything that i could do, to use one of the following: print_r(), var_dump(), var_export() or anything else, to dump the information on the screen, then grab with ajax and save it as a javascript array.

 

thx.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.