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
----
>
> Subject: [PHP] Session: I RTFM
> Date: Sat, 14 Dec 2002 18:41:40 -0500
> From: John Taylor-Johnston <[
----
>> -
>> -
>> ---
----------
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
>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
6 matches
Mail list logo