RE: [PHP-DB] Need help replacing one record
| From: | Humberto Silva | Date: | Fri, 09 Jan 2004 18:36:54 +0000 |
| Subject: | RE: [PHP-DB] Need help replacing one record | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-32350@lists.php.net to get a copy of this message | ||
$result=mysql_query("UPDATE tablename SET userpwd='$newpass' WHERE
username='$name'");
-----Original Message-----
From: Jeroen Wasteels [mailto:jeroenwasteels@yahoo.Com]
Sent: sexta-feira, 9 de Janeiro de 2004 18:24
To: php-db@lists.php.net
Subject: [PHP-DB] Need help replacing one record
Is there a way to change the information in one record of a database,
for example the password, without having to open the entire row, delete
it, and then add it with $row_data[name] and all and the $newpass as
changed password?
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php