convert PHP array to Javascript array


Posted on 16th Feb 2014 07:03 pm by admin

I have a page that gets a request sent from AJAX, and I am trying to convert a PHP array to a javascript array. is this possible? I tried with Json_encode but it doesn't seem to work. is there something I have to do on the javascript side to make json_decode work?

No comments posted yet

Your Answer:

Login to answer
235 Like 33 Dislike
Previous forums Next forums
Other forums

Require select-option functionality in Module Pool Programming
Hi Gurus,

I am doing a development by Module Pool on Warehouse Management. For that devel

Simple Question
I know this is a simple question, that if I knew what it was technically called i could probably loo

Need help with basic sql
Hi,

I am using oracle 10g, and having some small doubts related to sql , here goes the si

moving mouse to display image coordinates
I have an existing MFC application that shows an image in the main window.
I'd like to be able to

a dificult string search
Hi I don't know a way around this. I want the user to input a password, but to make it a bit complca

Install page
How do I make it so when a user submits information on the Install page, it'll right it into the cor

Not showing whole name with mail () script
I sent up a simple mail form with the PHP mail() script. One problem is when it sends an email with

Header redirect
Hello ive got a problem ive got form with its action set to itself.
Code: <form id="f

Displaying Multidimensional Arrays...about to put my head in a vice, PLEASE HELP
I am fairly new to PHP and MySQL and I have a problem which I have been trying to resolve for days.

When i am Canseling the Billing Document in VF11 I am getting Shortdump
Hi Experts

When i am Canseling the Billing Document in VF11 I am getting Shortdump.

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash