0

can I assign value to php variable with java script. I want to copy a java script variable's value to php variable . Is it possible ?

3
  • @Quentin the other way around! Commented Mar 7, 2014 at 17:19
  • @zoranc — No, it's about passing data from JS to PHP which is what that question is about. Commented Mar 7, 2014 at 17:20
  • that title is very deceiving then Commented Mar 7, 2014 at 17:21

1 Answer 1

1

Javascript is on the client side, whereas PHP executes on the server side. PHP variables can be assigned to javascript variables, but otherwise no.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.