> Is it possible to pass variables from a php page to a page using
> I've the variable - an array passed in the url of the page.
through GET, POST, COOKIE, values. Those are your options.
you do this.
<? $my_php_var = "foo"; ?>
my_js_var = '<?=$my_php_var?>';
Now, to get your JS variable back to PHP, you have to include it in a form,
or tack it on to a URL. You can put it in a form as a hidden element.
Hope that helps,
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php