> > is there a PHP function that wil return the names of the columns for a
> > given table?


Note: The function mysql_list_fields() is deprecated. It is preferable to
use mysql_query() to issue a SQL SHOW COLUMNS FROM table [LIKE 'name']
Statement instead.

Even if you're not using MySQL, the database should have a SHOW query or an

---John Holmes...

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to