grazie per la rapida risposta anche a questa ora ho adatta il tuo codice a quello che mi serve
Codice 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')"); } 
il problema che non inserisce gli id nella tabella