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

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

2001-04-26 Thread ~BD~
Sorry to do this to ya... Ive been involved with PHP for a total of two days now, and I'm kinda stumped. I've been looking in docs for about 4 hours now for this, and I'm sure I'm slipping right by the obvious answer somewhere, but What's the best (recommended) way to determine if a table

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

2001-04-26 Thread ~BD~
... 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] Really embarassing newbie question