RE: [PHP-DB] PHP/MySQL with Javascript
| From: | Bastien Koert | Date: | Wed, 15 Jun 2005 21:49:59 +0000 |
| Subject: | RE: [PHP-DB] PHP/MySQL with Javascript | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-39684@lists.php.net to get a copy of this message | ||
you can supply the value to js as a hidden variable in the form
bastien
From: "Chris Payne" <cjp@planetoxygene.com> To: <php-db@lists.php.net> Subject: [PHP-DB] PHP/MySQL with Javascript Date: Wed, 15 Jun 2005 16:55:32 -0400 Hi there everyone, Just a quick question, I have a login system that stores whether you are logged in or not with a PHP Session. However, I need it so when people submit a form to add an item to their cart that Javascript can pickup the PHP Value of whether people are logged in or not. I don't really need code as I don't want to take anyones time up, but if someone could point me in the right direction of how I can use PHP Values in Javascript I would REALLY appreciate it. Chris