Re: parsing values from a form post
| From: | Chris Boget | Date: | Fri, 08 Apr 2005 17:02:49 +0000 |
| Subject: | Re: parsing values from a form post | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-212655@lists.php.net to get a copy of this message | ||
> I can't figure out how to separate these variables and values so that I
> can do what I need to do.
> I've got
> foreach($_POST as $var=>$value) {
> }
> but can't seem to figure out what to do inside.
> Ideas??
What you could do is rename the form field names. Instead of naming
the field 'tax0', you could name it 'tax[0]'. Once you do that you will
find your form infinitely easier to work with doing what you want to do.
thnx,
Chris