i have crated web page usng netbeans ..

in my php code i have fetch the data in array now i want that data to be pass that data in js file which in that project please help me...

Recommended Answers

All 2 Replies

So if I understand what you want is to pass a php array to a js file ?
You should try JSON (www.json.org) to do that.

thaks.. for suggestion but their is problem..
json dosenot open so and i am new in php programing so please sir if you any solution or example .......

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.