Why not to look into source code of PHPLIB? The class db_mysql has a function called metadata (I think) - it does exactly that and much more. You can copy the function only or use the class for all your db manipulations if you wish. Maxim Maletsky PHPBeginner.com -----Original Message----- From: Alex Shi [mailto:[EMAIL PROTECTED]] Sent: marted́ 25 settembre 2001 21.03 To: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] How to obtain all the fields' names of a MySQL table?
Maxim Maletsky \(PHPBeginner.com\) Tue, 25 Sep 2001 11:44:38 -0700
- [PHP] How to obtain all the fields' nam... Alex Shi
- Re: [PHP] How to obtain all the fi... Maxim Maletsky \(PHPBeginner.com\)
- Re: [PHP] How to obtain all the fi... Sheridan Saint-Michel
- Re: [PHP] How to obtain all the fi... Alex Shi
- RE: [PHP] How to obtain all the fi... Adam Plocher