Re: how to pass var from javascript to php, HELP!
You could send the variables in the query string of url.
You can use javascript or php to create a link to PHP page.
Example:
MyPHP.php?Var1=1&Var2=2&Var3=3
Then Variables could be accessed in MyPHP.php with following code.
$var1 = $_REQUEST['Var1';]
$var2 = $_REQUEST['Var2';]
$var3 = $_REQUEST['Var3';]
0 Comments:
Yorum Gönder
<< Home