Re: How to obtain all the fields' names of a MySQL table?
| From: | Sheridan Saint-Michel | Date: | Tue, 25 Sep 2001 19:44:35 +0000 |
| Subject: | Re: How to obtain all the fields' names of a MySQL table? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-68763@lists.php.net to get a copy of this message | ||
Depending on what exactly you are doing you should probably use
http://www.php.net/manual/en/function.mysql-list-fields.php
or
http://www.php.net/manual/en/function.mysql-fetch-field.php
Sheridan Saint-Michel
Website Administrator
FoxJet, an ITW Company
www.foxjet.com
----- Original Message -----
From: "Alex Shi" <chpshi@netvigator.ca>
To: <php-general@lists.php.net>
Sent: Tuesday, September 25, 2001 2:03 PM
Subject: [PHP] How to obtain all the fields' names of a MySQL table?
> Hi,
>
> I wanto know how can obtain all of the fields' names of a
> MySQL table in a php script. Anyone have an idea about
> this please help. Thanks!
>
> Alex
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net