Hi!
I have a problem. I would like copy one row from table1 to
another table2. How could I do?
I tried something like this:
insert into table2 values (select * from table1 where username = '$uname')
both (table1 and table2) have the same structure.
Every time when I try do this sql command i get syntax error in sql command.
My question:
How could I copy one row from one table to other table?
Thank You for help!
S pozdravem,
Michal Kolesar
+420 608 225025
[EMAIL PROTECTED]
http://www.egarden.cz
server of free unix services
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php