fr eg:) i created 4 input tags namely username,update username,password and update password.
i want to update old username into new username and old password into new password.
here is the code for updating single column in php
$sql="update students set where username='$user';
if i update password field how to combine with this same variable....