Help for this page
SELECT [columns] FROM user WHERE id='$id' AND passwd=PASSWORD('$pwd')
UPDATE user SET passwd=PASSWORD('$pwd') WHERE id='$id'