[PHP-DB] MD5 Update

2003-03-16 Thread Dani Matielo
Please, help me with this: $preencher = mysql_query("SELECT * FROM alemao"); $update = mysql_query("UPDATE alemao SET codigo = md5(concat(nome,email))"); mysql_close ($db); whats wrong with my code? when I tell him to he returns "Insert MD5", but nothing happens in the db... whats wrong? T

RE: [PHP-DB] MD5 Update

2003-03-16 Thread John W. Holmes
> $preencher = mysql_query("SELECT * FROM alemao"); > $update = mysql_query("UPDATE alemao SET codigo = > md5(concat(nome,email))"); > > mysql_close ($db); > > > whats wrong with my code? when I tell him to > > else echo "No"; ?> > > he returns "Insert MD5", but nothing happens in the db... w