SHAD Posted February 15, 2010 Share Posted February 15, 2010 can anyone please fix this query for me as it is supposed to update the forums avatar but it dosent do it. function ForumSig() { global $ir, $db, $userid, $h; if (isset($_POST['NewFSig'])) { $db->query(sprintf("UPDATE `users` SET `forums_avatar`='%s', `forums_signature`='%s' WHERE `userid`='%d'", NoXSS($_POST['FPic']), NoXSS($_POST['NewFSig']), $userid)); echo 'Forum Info Updated'; } Quote Link to comment Share on other sites More sharing options...
SHAD Posted February 15, 2010 Author Share Posted February 15, 2010 OK Fixed it. :D Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.