Using DESCRIBE and/or EXPLAIN in PHP
| From: | Becoming Digital | Date: | Sun, 18 May 2003 04:23:46 +0000 |
| Subject: | Using DESCRIBE and/or EXPLAIN in PHP | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-27847@lists.php.net to get a copy of this message | ||
Is it possible to return the results of a query that uses the DESCRIBE and/or
EXPLAIN command(s)? My attempts using mysql_query() have so far been fruitless
and a review of http://www.php.net/manual/en/ref.mysql.php
didn't provide any
answers. Your assistance is appreciated. Thanks.
FWIW, I know that I can achieve a similar result by combining mysql_list_fields
with mysql_field_type but I'm curious as to whether this can be done with a
single query. Thanks again.
Edward Dudlik
Becoming Digital
www.becomingdigital.com