Re: Session: I RTFM
| From: | michael kimsal | Date: | Sun, 15 Dec 2002 03:11:55 +0000 |
| Subject: | Re: Session: I RTFM | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-128319@lists.php.net to get a copy of this message | ||
Instead of
while(list($k,$v)=each($_POST)){ $_SESSION[$k]=$v; //echo "_name_ <b>".stripslashes($k)."</b> _value_ <b>".stripslashes($v)."</b><br>"; }why not just $_SESSION = array_merge($_SESSION,$_POST); ??? Michael Kimsal http://www.phpappserver.com 734-480-9961