Re: iterate through the database fields
| From: | Carroll Barrett | Date: | Tue, 11 Jul 2000 14:06:43 +0000 |
| Subject: | Re: iterate through the database fields | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-1030@lists.php.net to get a copy of this message | ||
Nicole,
See manual at www.php.net/manual, specifically check out
mysql_fetch_array()
Regards,
Carroll Barrett
-----Original Message-----
From: Nicole Brathwaite <nicole@geonetric.com>
To: php-db@lists.php.net <php-db@lists.php.net>
Date: Tuesday, July 11, 2000 8:16 AM
Subject: [PHP-DB] iterate through the database fields
>In ASP I have a component that takes the values from the form
submitted and
>using a For Each loop iterates through the Database with
{dbfield in
>Recordset.Fields} and for every matching field name it dumps the
form field
>value in it. Is there something comparable in PHP, or can
someone help with
>the code for this. I noticed with dbase there is a
dbase_add_record but I'm
>using MySQL.
>thanks any help would be appreciated
>
>
>
>Nicole
>
>
>--
>PHP Database Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
>For additional commands, e-mail: php-db-help@lists.php.net
>To contact the list administrators, e-mail:
php-list-admin@lists.php.net
>