Re: [PHP-DB] Really embarassing newbie question...

2001-04-27 Thread Kelvin
Hi, Use this: $query="describe TableName"; $result=mysql_query($query) or die (mysql_error()); This is one good way to prevent update or delete or mass up the table without known. Kelvin. ""~BD~"" <[EMAIL PROTECTED]> wrote in message 02a601c0ced3$34cdd5a0$22041dd8@winbox">news:02a60

Re: [PHP-DB] Really embarassing newbie question...

2001-04-26 Thread ~BD~
Doh! Sorry about that - yes, it's MySQL. And I complete blew by mysql_list_tables - I mis-read what I thought it did, then didn't look at it any further... I told you it was embarrasing... Thanks! http://www.bustdustr.net Home of Radio Free Bd > You didn't mention what DBMS you are running...

RE: [PHP-DB] Really embarassing newbie question...

2001-04-26 Thread Tyrone Mills
You didn't mention what DBMS you are running... Assuming it is MySQL, check page 686 in the PHP Manual, you're looking for mysql_list_tables() Enjoy... -Original Message- From: ~BD~ [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 26, 2001 9:33 PM To: [EMAIL PROTECTED] Subject: [PHP-DB]