RE: Need help replacing one record

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



$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



[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux