here is a command to copy the whole table from one to another
$query=mysql_query("INSERT INTO nuke_users (uid,uname,email,url,user_sig,pass,user_icq) select userid,username,email,homepage,signature,password, icq from user");
if anyone knows how to tweak it so it only UPDATES one row of a certain table with another row of a different table
would changing the end to from user "WHERE uid = $uid"); " ?
|