use php to copy table & rename the database.

admin

Administrator
Staff member
hi,
1.) after i create database using
my_sql_pconnect("loclhost","123","123");
my_sql_create_db("my_db");

then how can i copy all tables from one db to this newly created db(my_db) and at the same time delete the content from the tables in this newly created db using php..

2.) how can i rename the db name without changing any tables under this db using php??

thanks for the help..
frm
patrilia :)
 
Back
Top