View Full Version : Creating multiple tables at once

03-25-2007, 02:31 PM
I have made my own CMS and I want to create an install.php for users so they can create the tables in MySQL. What's the easiest way of creating multiple tables in SQL using php?

At the moment the only way I can do it is to write it out manually but there are about 30 tables. Would using .sql tables be an option? If so, how do I use them?


03-25-2007, 09:01 PM
Dump the entire db using phpMyAdmin, and tell users to import using phpMyAdmin.