Creating a new table from other table in other database in m

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Locked
mbaroz
Forum Commoner
Posts: 29
Joined: Sun Feb 05, 2006 10:10 am

Creating a new table from other table in other database in m

Post by mbaroz »

Hi
i want to create a php code that creates a table from other table i use:
"Create table select * from oldtable"
But when the bew table created it doesnt maintained the Indexes and keys
what should i do ?
Thanks
Moshe
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

do not double post.
Locked