Re: Test tables existance
| From: | Haseeb Iqbal | Date: | Mon, 31 Mar 2003 09:46:58 +0000 |
| Subject: | Re: Test tables existance | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-141658@lists.php.net to get a copy of this message | ||
use mysql_query("show tables"); get them in array and then scan the array
thats what i would do if there isn;t any function
Friendship is always a sweet responsibility, never an opportunity.
HaSeEb IqBaL.
0300-4258030
----- Original Message -----
From: "Antti" <antti@victoria.fi>
To: <php-general@lists.php.net>
Sent: Monday, March 31, 2003 1:34 AM
Subject: [PHP] Test tables existance
> How do I test if a mysql table exists or not? Is there a function for
> this? I didn't find a good one.
>
> -antti
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>