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.
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to