Quote:
Originally Posted by halfpint
K thanks
Im not a php coder and only know bits and bobs so if I change it to this will it work
Code:
$result= mysql_query("UPDATE `grpgusers` SET `avatar`='".$avatar."', `quote`='".$quote."'`banner`='".$banner."', `sig`='".$sig."' WHERE `id`='".$user_class->id."'");
|
Try wrapping isset around the individual SQL statements, something like:
Code:
if (isset(_POST['avatar'])) { $result = ...... }
if (isset(_POST['banner'])) { $result = ...... }
Be warned that above is just a dirty bandaid on an already dirty wound.