On Thursday, March 21, 2002, at 06:26 PM, David Johansen wrote:
> Thanks that fixed the problem, but I have a question then. Am I
> supposed to
> put the ' in the $_SESSION[] in the normal parts of code. Thanks,
> Dave
You should use either single quotes or double quotes in any associative
i
; pointer to
> the index.
>
> Example..
> $myarray = array ('myvar' => 'myvalue');
> echo $myarray[myvar]; // prints out 'myvalue'
> -Kevin
>
> -Original Message-
> From: David Johansen [mailto:[EMAIL PROTECTED]]
> Sent: Thursda
> -Kevin
>
> -Original Message-
> From: David Johansen [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 21, 2002 4:26 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] echo and Session Variables
>
> Thanks that fixed the problem, but I have a question then. Am I su
;
-Kevin
-Original Message-
From: David Johansen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 21, 2002 4:26 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] echo and Session Variables
Thanks that fixed the problem, but I have a question then. Am I supposed
to
put the ' in the $_SESSION
Thanks that fixed the problem, but I have a question then. Am I supposed to
put the ' in the $_SESSION[] in the normal parts of code. Thanks,
Dave
"Miguel Cruz" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Thu, 21 Mar 2002, David Johansen wrote:
> > I was
On Thu, 21 Mar 2002, David Johansen wrote:
> I was just wondering if there's a way to use echo with session variables.
> When I try to do this:
>
> if (isset($_SESSION['x_Email']))
> echo "value=\"$_SESSION['x_Email']\"";
> ?>
The issue is with the syntax you're using to refer to arrays within
I was just wondering if there's a way to use echo with session variables.
When I try to do this:
it gives me this error:
Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or
`T_NUM_STRING' in /home/storings/public_html/uslogin.php on line 134
Am I doing something wrong or is ther
7 matches
Mail list logo