Using a PHP script I need to do the below, as user selects a financial year 2013 and I need a separate database for 2013:
My 2012 database contains 105 tables. I need a PHP script that will "read" the structure of this database and it's tables and then create an identical database with all tables.
Can someone help please?