fallenangel1983 Posted April 1, 2008 Share Posted April 1, 2008 Hey all, Using php and mysql is there a way to copy a full row of a table into another table which is identical to the first one? e.g. could this table: Table1 Table2 ITEM PRICE ITEM PRICE Coffe 1.50 --------------> empty empty Donut 2.00 empty empty is this possible? Quote Link to comment https://forums.phpfreaks.com/topic/99074-copying-tables/ Share on other sites More sharing options...
sKunKbad Posted April 1, 2008 Share Posted April 1, 2008 Do you mean all in one query? Quote Link to comment https://forums.phpfreaks.com/topic/99074-copying-tables/#findComment-506950 Share on other sites More sharing options...
fallenangel1983 Posted April 1, 2008 Author Share Posted April 1, 2008 if there is a way yes Quote Link to comment https://forums.phpfreaks.com/topic/99074-copying-tables/#findComment-506972 Share on other sites More sharing options...
sKunKbad Posted April 2, 2008 Share Posted April 2, 2008 There probably is, but you should post in the MySQL forum. Quote Link to comment https://forums.phpfreaks.com/topic/99074-copying-tables/#findComment-507753 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.