RE: PHP/MySQL with Javascript

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



you can supply the value to js as a hidden variable in the form

bastien


From: "Chris Payne" <cjp@xxxxxxxxxxxxxxxxx>
To: <php-db@xxxxxxxxxxxxx>
Subject:  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


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux