grazie per la rapida risposta anche a questa ora ho adatta il tuo codice a quello che mi serve
il problema che non inserisce gli id nella tabellaCodice PHP:
$r = mysql_query("select id_member from smf_members"); while ($row = mysql_fetch_array($r)) { $crypt = md5(md5(md5($row['campo']))); $r2 = mysql_query("insert into mhomeconfig (id_user) values ('$crypt')"); }