Table exists?
| From: | Nick Wilson | Date: | Sat, 09 Feb 2002 18:28:41 +0000 |
| Subject: | Table exists? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-84122@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
What would be the easiest way to see if a MySQL table exists with PHP?
I can do it by checking against mysql_list_tables() but that seems a
little clumsy. Is there a better way?
- --
Nick Wilson
Tel: +45 3325 0688
Fax: +45 3325 0677
Web: www.explodingnet.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
iD8DBQE8ZWpZHpvrrTa6L5oRAtJwAJ44JTLEU1kgAyXS8fBNawLocpsJPQCeJpwW
2xELNyaALyoYZv60kJeLU5k=
=riQB
-----END PGP SIGNATURE-----