Re: [PHP] Session: I RTFM

2002-12-15 Thread michael kimsal
Marco Tabini wrote: Single quotes are normal strings. Double quotes are strings in which substitutions can take place. For example: Double quotes also expand escape strings (e.g."\n") whereas single quotes don't. However, in a case like this: -- What is the difference between: $f

Re: [PHP] Session: I RTFM

2002-12-15 Thread Marco Tabini
---- > > Subject: [PHP] Session: I RTFM > Date: Sat, 14 Dec 2002 18:41:40 -0500 > From: John Taylor-Johnston <[

Re: [PHP] Session: I RTFM

2002-12-14 Thread Justin French
---- >> - >> - >> ---

Re: [PHP] Session: I RTFM

2002-12-14 Thread John Taylor-Johnston
----------

Re: [PHP] Session: I RTFM

2002-12-14 Thread Marco Tabini
I haven't followed the rest of the thread, but how about using a function? function getvar ($varname) { if (isset ($_POST[$varname]) { $_SESSION[$varname] = $_POST[$varname]; return $_POST[$varname]; } elseif (isset ($_SESSION[$varnam

[PHP] Session: I RTFM

2002-12-14 Thread John Taylor-Johnston
>Jason wrote: >RTFM again. Jason, again, I RTFM, but did not get it working. Otherwise I wouldn't have dared ask a question. >Sessions depends on a number of factors >including your version of PHP and the setting of register_globals. The FM manual says: "$_SESSION (or $HTTP_SESSION_VARS with PH