Timeline for converting js variable to php [duplicate]
Current License: CC BY-SA 3.0
13 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 23, 2017 at 11:47 | history | edited | URL Rewriter Bot |
replaced http://stackoverflow.com/ with https://stackoverflow.com/
|
|
| Oct 12, 2011 at 17:27 | comment | added | hakre | And please use the search next time, this question has been asked a hundred times. | |
| Oct 12, 2011 at 17:10 | history | edited | Community Bot |
insert duplicate link
|
|
| Oct 12, 2011 at 17:10 | history | closed |
Marc B zzzzBov Pekka Clive hakre |
exact duplicate | |
| Oct 12, 2011 at 17:07 | vote | accept | Mohit Bumb | ||
| Oct 12, 2011 at 17:06 | comment | added | Mike | MB, Please post your answer then if ComFreek's answer didn't suffice or accept his. | |
| Oct 12, 2011 at 17:00 | comment | added | Mohit Bumb | @Briedis Thanks got my answer. | |
| Oct 12, 2011 at 16:57 | comment | added | Mārtiņš Briedis | Someone needs to understand, that when javascript ir executed, the server has done it's job - there is no way to get back to it [PHP] in the current request. You have to make another request, perhaps, via ajax. | |
| Oct 12, 2011 at 16:57 | comment | added | Melsi | your options are ajax, POST, GET, href which one you want | |
| Oct 12, 2011 at 16:56 | answer | added | ComFreek | timeline score: 1 | |
| Oct 12, 2011 at 16:53 | comment | added | Landon | That variable exists in the browser, a php variable exists on the server, two very separate places. can you please elaborate on what your use is and we can suggest a method? The first thing that comes to mind is to submit a form that sends that value to the server, but, again, it depends on what you want | |
| Oct 12, 2011 at 16:52 | comment | added | zzzzBov | in PHP how? are you passing it to PHP? | |
| Oct 12, 2011 at 16:51 | history | asked | Mohit Bumb | CC BY-SA 3.0 |