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 . "' 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='" ... 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 Link to comment https://forums.phpfreaks.com/topic/191245-whats-wrong-here/#findComment-1008358 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.