note 47524 rejected from ref.mysql by betz
| From: | betz@php.net | Date: | Fri, 19 Nov 2004 15:49:00 +0000 |
| Subject: | note 47524 rejected from ref.mysql by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-80750@lists.php.net to get a copy of this message | ||
Note Submitter: jflaker at yahoo dot com
----
I am a programmer and I am dabbling in PHP.
I was wondering if anyone could come up with code that will create the db tables if they don't
exist. Most apps I've seen have a separate INSTALL.PHP routine that creates the db tables.
I picture:
Connnect
test table(s) existence, if not exist, run create routines for each table that doesn't
exist......then continue with whatever the programs does.