seems like you are updating the data and not inserting.
Try the following:
$sql = "UPDATE `User` SET `txtName`='$txtName', `txtUsername`='$txtUsername', `txtPassword`='$txtPassword' WHERE `fUserid`='$id'";
__________________
Om Prakash Pant
Click the "Thanks" button if this post helped you.
|