RE: [PHP-DB] retrieving field names in ascending order
| From: | Bastien Koert | Date: | Thu, 08 Sep 2005 13:10:24 +0000 |
| Subject: | RE: [PHP-DB] retrieving field names in ascending order | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-40226@lists.php.net to get a copy of this message | ||
AFAIK you can't order the
SHOW COLUMNS from TABLE
Yo could pass the results to an array and sort it in the array
Bastien
From: umeed921@yahoo.com (hope) To: php-db@lists.php.net Subject: [PHP-DB] retrieving field names in ascending order Date: Thu, 08 Sep 2005 04:23:31 -0400 hi how can i retrieve field names from a table(e.g products_attributes) in ascending order??? i need to display each of the fieldnames alongwith its datatype and length on the page. regards hope -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php