Hi Naintara,
thanks for your code could you please advice why is the code giving this
error.
Parse error: syntax error, unexpected T_ISSET in
/path/submit-store-details.php on line 4
This is coming when I am trying to use your code like this:
?
session_start();
$_SESSION['email'] =
if you have a value in your email session variable.
?
Naintara
-Original Message-
From: Chris Carter [mailto:[EMAIL PROTECTED]
Sent: Sunday, September 23, 2007 9:59 PM
To: php-db@lists.php.net
Subject: Re: [PHP-DB] How to capture from session and match database
Hi Naintara,
thanks
You can use cookies to keep your info so that you don't pass them from
page to page. A way to do this is:
$email = '[EMAIL PROTECTED]';
session_start();
setcookie('e-mail',$email);
And then retrieve the cookie information using the $_COOKIE array:
$query=SELECT * FROM table WHERE email =
Hi,
First of all, where you are storing the session variable, it should be
specified as:
$_SESSION['email'] = 'email value' //PHP 4.1.0 onwards
This is preferred to registering global variables. There's a whole lot of
discussion on why.
On the pages you are authenticating, you would