Re: [PHP] echo and Session Variables

2002-03-21 Thread Erik Price
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

RE: [PHP] echo and Session Variables

2002-03-21 Thread Johnson, Kirk
; 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

RE: [PHP] echo and Session Variables

2002-03-21 Thread Rasmus Lerdorf
> -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

RE: [PHP] echo and Session Variables

2002-03-21 Thread Kevin Stone
; -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

Re: [PHP] echo and Session Variables

2002-03-21 Thread David Johansen
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

Re: [PHP] echo and Session Variables

2002-03-21 Thread Miguel Cruz
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