Re: FOR, FOREACH, and Input Box Names
| From: | Jason Wong | Date: | Fri, 25 Apr 2003 21:15:08 +0000 |
| Subject: | Re: FOR, FOREACH, and Input Box Names | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-145318@lists.php.net to get a copy of this message | ||
On Saturday 26 April 2003 05:00, Guru Geek wrote:
> Thank you for your time and reply.
>
> I always make a note of trying out every suggestion I receive.
>
> I get an 'Invalid Argument supplied for foreach()' warning when I plug all
> of this in.
>
> Your suggestion would be much more easier to work with regarding the future
> outputs and processing of the entries.
I have assumed:
(a) you're using the post method for your form
(b) you're using a relatively new version of PHP which would have the $_POST
superglobal variable
If one or more of the assumptions is incorrect then you would have to modify
the code accordingly.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
"World domination. Fast"
(By Linus Torvalds)
*/