"Gary" <[EMAIL PROTECTED]> wrote in message
98rohv$b0k$[EMAIL PROTECTED]">news:98rohv$b0k$[EMAIL PROTECTED]...
> Is there a way to pass a JavaScript variable to a PHP function?
>
> Thanks, Gary
You can use GET/POST/COOKIE to do that.
i.e. You must send new request to server and send variables, that you wan to
pass PHP, as $HTTP_GET_VARS, $HTTP_POST_VARS or $HTTP_COOKIE_VARS. And of
course, you cannot call PHP functions from JavaScript.
Regards,
--
Yasuo Ohgaki
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
- [PHP] Passing JavaScript variables Gary
- Yasuo Ohgaki