: I RTFM
Date: Sat, 14 Dec 2002 18:41:40 -0500
From: John Taylor-Johnston [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Organization: FLSH, U-de-S
To: [EMAIL PROTECTED]
Jason wrote:
RTFM again.
Jason, again, I RTFM
Marco Tabini wrote:
Single quotes are normal strings. Double quotes are strings in which
substitutions can take place. For example:
?php
$a = 'test';
echo '$a'; // outputs $a
echo $a; // outputs test
?
Double quotes also expand escape strings (e.g.\n) whereas single
quotes don't.
However,
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 PHP
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: I RTFM
Date: Sat, 14 Dec 2002 18:41:40 -0500
From: John Taylor-Johnston [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED
] Session: I RTFM
Date: Sat, 14 Dec 2002 18:41:40 -0500
From: John Taylor-Johnston [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Organization: FLSH, U-de-S
6 matches
Mail list logo