Page 1 of 1

SQL not updating all fields

Posted: Mon Jan 26, 2004 6:45 pm
by pinehead18
Ok, this script will not update the approve field but it updates the mainpic field.

Any ideas?

Thank you
Anthony

Posted: Mon Jan 26, 2004 7:47 pm
by ilovetoast
The emperor has no clothes.

Posted: Mon Jan 26, 2004 8:53 pm
by John Cartwright
WHo, what,where,when,why?

wheres the script?

Posted: Tue Jan 27, 2004 5:30 pm
by pinehead18
$sql = "UPDATE users SET ".$keepmyvar."='$newname', approve='no' WHERE user='".$name."'";

-- Sorry apparently i was retarted last night