Re: Checking whether a MySQL table exists
| From: | Philip Olson | Date: | Tue, 09 Jan 2001 21:26:47 +0000 |
| Subject: | Re: Checking whether a MySQL table exists | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-33547@lists.php.net to get a copy of this message | ||
Also, consider playing with :
http://www.php.net/manual/function.mysql-list-tables.php
philip
On Tue, 9 Jan 2001, David Tod Sigafoos wrote:
> 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_______
>
>
>
> --
> 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
>