* Thus wrote Susan Ator ([EMAIL PROTECTED]): > > 2) Is there any way to use a variable in a session name? > > can I do: > $msg="20031022" > $_SESSION["$msg.name"] becomes $_SESSION['20031022name']
In this case the _SESSION key is 20031022.name. You'll want something like: $_SESSION["{$msg}name"] or $_SESSION[$msg.'name'] Curt -- "My PHP key is worn out" PHP List stats since 1997: http://zirzow.dyndns.org/html/mlists/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php