Re: Passing 76 form variables ?????

From: Date: Mon, 09 Oct 2000 14:39:30 +0000
Subject: Re: Passing 76 form variables ?????
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-19196@lists.php.net to get a copy of this message
$HTTP_POST_VARS should contain your submitted form elements. You can pass that to your db function. (or use $HTTP_GET_VARS if your form used the GET method) Monte Joey Garcia wrote: > > I have a form that has about 76 form elements and I use the same php page > for all the pages (i.e., action=$PHP_SELF) so after the form is filled out > the form is submitted then I have to pass all these variable to the function > for updating the database, so my question is there a way to pass the whole > form's array then pull them out like so $FORM["engineer"], > $FORM["startDate"], ... ? I know I could create an array then pass that > but I was hoping for a more elegant process. > > Any insight is appreciated. > > -- Joey > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#19196) next »