variable passing
Moderator: General Moderators
variable passing
say u got a variable x in javascript, now how would u pass that to variable $y in php, and how would u do it the other way around. thnx
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
Passing a javascript variable to PHP, possible only if the page is reloaded and the variable is sent via POST or GET (ie in the URL) or is stored in a cookie.
Passing PHP variables to JavaScript, easy peasy, example found here:
viewtopic.php?t=1030
Mac
Passing PHP variables to JavaScript, easy peasy, example found here:
viewtopic.php?t=1030
Mac