The code you have there will work fine, as long as you get rid of that call to disconnect() that disconnects you from the database before trying to prepare a query. Other databases probably won't use the same 'SHOW TABLES' command that mysql does though, if you want it to be portable you probably want to look at the DBI table_info() method.
In reply to Re: my first database
by jasonk
in thread my first database
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |