Re: DB table exists ?
| From: | Matthias H. Risse | Date: | Wed, 12 May 2004 09:41:53 +0000 |
| Subject: | Re: DB table exists ? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-12432@lists.php.net to get a copy of this message | ||
for the archive.
this seems to work:
if(!is_array($db->tableInfo($tbl)))
echo "table" . $tbl . "does <b>not</b> exist";