$result=mysql_query("UPDATE tablename SET userpwd='$newpass' WHERE username='$name'"); -----Original Message----- From: Jeroen Wasteels [mailto:jeroenwasteels@xxxxxxxxx] Sent: sexta-feira, 9 de Janeiro de 2004 18:24 To: php-db@xxxxxxxxxxxxx Subject: 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 -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php