cybernet Posted February 7, 2010 Share Posted February 7, 2010 do_sqlquery("UPDATE {$TABLE_PREFIX}files SET tag='".AddSlashes($_POST["tag"])."', filename='$fname', comment='" . AddSlashes($_POST["comment"]) . "', category=" . intval($_POST["category"]) . " , visible = $visible, sticky = '" . $sticky . ", vip_torrent = '" . $vip_torrent . "''WHERE info_hash='" . $torhash . "'", true); mysql query is working but the query it self has a problem i think the problem is here , vip_torrent = '" . $vip_torrent . "' Quote Link to comment https://forums.phpfreaks.com/topic/191245-whats-wrong-here/ Share on other sites More sharing options...
wildteen88 Posted February 7, 2010 Share Posted February 7, 2010 Your have too many quotes here ... vip_torrent = '" . $vip_torrent . "''WHERE info_hash='" ... it should be ... vip_torrent = '" . $vip_torrent . "' WHERE info_hash='" ... Quote Link to comment https://forums.phpfreaks.com/topic/191245-whats-wrong-here/#findComment-1008357 Share on other sites More sharing options...
cybernet Posted February 7, 2010 Author Share Posted February 7, 2010 thanks a lot Quote Link to comment https://forums.phpfreaks.com/topic/191245-whats-wrong-here/#findComment-1008358 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.