
Only Thing Is...When I Go To profile.php The Fields Are Blank. No Info Is Shown...Is There A Fix?
How To Set A Default Value?jacek wrote:You could populate the form fields with default values from the table, that way they will just update to the current value if they don't change them.
Thanks! I Tried! And It Works!jacek wrote:It should be a comma separated list of columns to update
UPDATE `table` SET `column` = 'value', `column2` = 'value2' WHERE `id`= 7
$sql = "UPDATE `users` SET `age`='$age' AND `gender`='$gender' "
jacek wrote:You can use $_GET['id'] in the SQL to decided which users information to fetch ?