Re: Checking whether a MySQL table exists
| From: | Web Master | Date: | Tue, 09 Jan 2001 21:26:42 +0000 |
| Subject: | Re: Checking whether a MySQL table exists | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-33548@lists.php.net to get a copy of this message | ||
Try doing the basic select on the table and trap the error. (like select
count(*) from tbl)
Ben Wiechman wrote:
> Is there a command to check for the existence of a MySQL table?
>
> Ben
>
> --
> 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