Re: how i assign a js variable to a php variable
| From: | tedd | Date: | Sat, 19 Sep 2009 14:15:09 +0000 |
| Subject: | Re: how i assign a js variable to a php variable | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-298178@lists.php.net to get a copy of this message | ||
At 2:16 AM +0700 9/18/09, saeed ahmed wrote:
hello guys, i'm new here in this list. guys i need a help. i can't assign a js variable value to a php variable. how can i do this?saeed: Considering that js is client-side and php is server-side, you need to pass the value via a communication mechanism between the two. Your choices are the standard GET/POST or ajax. Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com