Re: Sessions and Forms

From: Date: Sat, 08 Jun 2002 06:41:50 +0000
Subject: Re: Sessions and Forms
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-101248@lists.php.net to get a copy of this message
On Saturday 08 June 2002 14:39, Greg Macek wrote: > What is the best/recommended method of saving form data into session > variables? Currently only have to deal with regular text input, > checkboxes and radio buttons (no multiple selects for now). Any sample > code someone could throw up on the list? I've only recently begun > working with sessions, but I'm interested to see what I can do with > them. Any sort of direction on this would be appreciated. Thanks! What I do is try to put all the form elements into a single array. That way you'll only have a single variable to worry about. -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* Future looks spotty. You will spill soup in late evening. */

« previous php.general (#101248) next »