How to copy tables from one database to another?
Posted: Sat Oct 08, 2005 7:43 am
Hello! I have a problem: i need to make a php function: function copy_tables($database,$tables) which allows you to copy the $tables from a certain database to the $database passed as parameter.My problem is that i don't know how to copy the tables and the table structure from one database to another.I don't need to copy the data in the tables,just the tables and the table structure (field names).Can you help me with this? If it's not clear what i want,please say and i'll try to explain it again.I really need your help! Thanks!