RE: [PHP-DB] Re: Posting Data to MySQL
| From: | Galbreath, Mark A | Date: | Thu, 24 Jun 2004 15:55:11 +0000 |
| Subject: | RE: [PHP-DB] Re: Posting Data to MySQL | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-34922@lists.php.net to get a copy of this message | ||
agreed - poor design.
-----Original Message-----
From: Torsten Roehr [mailto:roehr@zilleon.com]
Sent: Thursday, June 24, 2004 11:21 AM
To: php-db@lists.php.net
Subject: Re: [PHP-DB] Re: Posting Data to MySQL
"Mark A Galbreath" <GalbreathMA@state.gov> wrote in message
news:31EAD63EF127D311A7C500E0290A222D02DDC802@IMSIOOPSSNTSD...
> Doesn't matter how many fields are on a form; they are returned as an
array
> of strings in the request object. Just iterate through the array and
update
> the corresponding database fields.
Mark, what I was trying to say was that having 100 form elements on one page
is quite a lot of information to comprehend for the user. And if each form
element has a different name you cannot just handle the data as an array.
You have to address each value individually.
Regards, Torsten
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php