Re: Checking whether a MySQL table exists
| From: | David Tod Sigafoos | Date: | Tue, 09 Jan 2001 21:20:47 +0000 |
| Subject: | Re: Checking whether a MySQL table exists | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-33546@lists.php.net to get a copy of this message | ||
BW> Is there a command to check for the existence of a MySQL table?
I believe you must 'select' the table and check the error
On creation you can create table xzy IF NOT EXISTS
--
DSig
David Tod Sigafoos
mailto:dsig@teleport.com
Using 'The Bat' 1.48f
`````
( O O )
_______oOOo__( )__oOOo_______