You can have PHP generate a small javascript section where you define the
variables or you can use cookies.

- Frank

> 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

Reply via email to