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 ?
-
@Quentin the other way around!zoranc– zoranc2014年03月07日 17:19:37 +00:00Commented Mar 7, 2014 at 17:19
-
@zoranc — No, it's about passing data from JS to PHP which is what that question is about.Quentin– Quentin2014年03月07日 17:20:19 +00:00Commented Mar 7, 2014 at 17:20
-
that title is very deceiving thenzoranc– zoranc2014年03月07日 17:21:09 +00:00Commented Mar 7, 2014 at 17:21
1 Answer 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.
answered Mar 7, 2014 at 17:22
segarci
7351 gold badge11 silver badges19 bronze badges
Sign up to request clarification or add additional context in comments.
Comments
default