MD5 Update
| From: | Dani Matielo | Date: | Sun, 16 Mar 2003 23:34:24 +0000 |
| Subject: | MD5 Update | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-26408@lists.php.net to get a copy of this message | ||
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
<? if ($update) echo "Insert MD5";
else echo "No"; ?>
he returns "Insert MD5", but nothing happens in the db... whats wrong?
Thank you in advance,
Dani