Re: Generated input names
| From: | Richard Whitney | Date: | Mon, 24 Mar 2003 06:22:30 +0000 |
| Subject: | Re: Generated input names | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-140804@lists.php.net to get a copy of this message | ||
Thanks for your suggestions everyone - I have the problem under control!
Richard
Quoting Jason Wong <php-general@gremlins.biz>:
### On Monday 24 March 2003 12:04, Richard Whitney wrote:
### > By the way, some names are various colorsappended with a size letter
### (i.e.
### > BlackM, GreenXL, etc.)
### >
### > others are simply a letter incremented starting with a.
###
### If I was doing this I would put all form elements into an array and thus
### name
### them like:
###
### "form[BlackM]"
### "form[GreenXL]"
### etc
###
### Then I can just for-loop through $_POST['form'] (or $_GET['form']) to get
###
### everything single form element.
###
### --
### 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
### ------------------------------------------
### /*
### "I'm a mean green mother from outer space"
### -- Audrey II, The Little Shop of Horrors
### */
###
###
### --
### PHP General Mailing List (http://www.php.net/)
### To unsubscribe, visit: http://www.php.net/unsub.php
###
###
--
Richard Whitney *
Transcend Development
Producing the next phase of your internet presence.
rw@xend.net *
http://xend.net *
602-971-2791
* * *
* * *__ * *
_/ \___ *
* / * \* *
*/ * * \
* */\_ |\
/ \_ / \
/ \____/ \
/ \
/ \
/ \