Hi ,

   I just want to know,is it possible to assign the javascript array variables to the php array variables.
   I am new to php ,so please can anyone explain me.

Recommended Answers

All 2 Replies

no.
php runs on the server.
Then the html & javaschript output is sent to the browser.
The browser runs the javascript.

to get the javascript valus back to the server you can use ajax.
jQuey makes it easyer

Member Avatar for diafol

If you could give us an example of what you're trying to do?
It's just possible that you could do everything you need in js. Care to show your code?

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.