Re: fetching mySQl info thru PHP
| From: | Matt | Date: | Mon, 31 Jul 2000 17:17:10 +0000 |
| Subject: | Re: fetching mySQl info thru PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-9203@lists.php.net to get a copy of this message | ||
Try:
mysql_list_tables()
http://www.php.net/manual/function.mysql-list-tables.php
Describe would be nice though, perhaps you could
use some of em backticks with a mysql command
You can also try mysql_fetch_field()
http://www.php.net/manual/function.mysql-fetch-field.php
Regards, Matt
"Thomas Edison Jr." wrote:
>
> How do we execute commands like "Show tables",
> "Describe [tablename]" through a PHP page which would
> retrieve this info and print it accordingly onto the
> page?
>
> And how can we delete tables or databases using a php
> page?
>
> tahnx,
> T. Edison jr.
>
> =====
> Rahul S. Johari (Director)
> ******************************************
> Abraxas Technologies Inc.
> Homepage : http://www.abraxastech.com
> Email : abraxastech@yahoo.com
> Tel : 91-4546512/4522124
> *******************************************
>
> __________________________________________________
> Do You Yahoo!?
> Kick off your party with Yahoo! Invites.
> http://invites.yahoo.com/
>
> --
> 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