View Single Post
  #169  
Old 03-28-2012, 12:18 AM
SilverDragonTears's Avatar
SilverDragonTears SilverDragonTears is offline
I am your Nemesis.
 
Join Date: Jun 2011
Posts: 1,113
Gender: Female
Credits: 81,227
SilverDragonTears is on a distinguished road
Default

HoF error in accountpost.php

Users can't update their avatar... you forgot the avatar='{$avatar}' ,

Code:
// Run update queries...
$query = "UPDATE {$prefix}users_profile SET avatar='{$avatar}' , nickname='{$nickname}' , 
                                            gender='{$gender}' , 
									        color='{$color}' , 
									        bio='{$bio}' , 
									        favpet='{$favpet}'  , 
									        about='{$about}' WHERE username='{$loggedinname}'";
$adopts->query($query);

// All done!
__________________

Check out SilvaTales