I am using session_start, im using php 4.2.3
Lee
"Conbud" <[EMAIL PROTECTED]> wrote in message
news:20021112075942.16291.qmail@;pb1.pair.com...
> Hey,
> I do have it in a variable but I just choose to leave it out.
> Ive tried so many different things with this and even what you gave me for
> som
what PHP version are you running?
$_SESSION variable is only available since PHP v4.1.0 and, btw, you
always need to use session_start() before using it.
--
Maxim Maletsky
[EMAIL PROTECTED]
Jason Wong <[EMAIL PROTECTED]> wrote... :
> On Tuesday 12 November 2002 15:59, conbud wrote:
> > Hey,
>
On Tuesday 12 November 2002 15:59, conbud wrote:
> Hey,
> I do have it in a variable but I just choose to leave it out.
> Ive tried so many different things with this and even what you gave me for
> some reason didnt work.
*Why* doesn't it work?
> The variables are being set, if I echo
> $_SESSI
Also the echo statement is just there for testing purposes to make sure the
variable were containing the correct data.
Lee
"Conbud" <[EMAIL PROTECTED]> wrote in message
news:20021112075942.16291.qmail@;pb1.pair.com...
> Hey,
> I do have it in a variable but I just choose to leave it out.
> Ive tr
Hey,
I do have it in a variable but I just choose to leave it out.
Ive tried so many different things with this and even what you gave me for
some reason didnt work. The variables are being set, if I echo
$_SESSION['user'] then right data is shown. However as soon as I put it in
the mysql_query it
On Tuesday 12 November 2002 15:05, conbud wrote:
> Hey,
> How would I insert $_SESSION['user'] and $_SESSION['pass']
>
> into this
> mysql_query("select count(*) AS numfound from admins where user='$user' AND
> pass='$pass'",$db);
>
> right now I have
> $_SESSION['user'] = $_POST['user']
> $_SESSIO
Hey,
How would I insert $_SESSION['user'] and $_SESSION['pass']
into this
mysql_query("select count(*) AS numfound from admins where user='$user' AND
pass='$pass'",$db);
right now I have
$_SESSION['user'] = $_POST['user']
$_SESSION['pass'] = $_POST['pass']
and I need to put $_SESSION['user'] whe
7 matches
Mail list logo