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 ?
Asked
Active
Viewed 593 times
0
-
@Quentin the other way around! – zoranc Mar 07 '14 at 17:19
-
@zoranc — No, it's about passing data from JS to PHP which is what that question is about. – Quentin Mar 07 '14 at 17:20
-
that title is very deceiving then – zoranc Mar 07 '14 at 17:21
1 Answers
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.

segarci
- 739
- 1
- 11
- 19