View Single Post
  #1  
Old 8th February 2016, 14:57
sharpe1983 sharpe1983 is offline
Member
 
Join Date: Jul 2011
P2P
Posts: 14
Default search by torrent tags as well as a plain old search
i would like to be able to search torrent tags as well as a plain search could anyone help me add the torrent.tags code into the below code please thanks in advance

Code:
		if($stext	!= "0"){
			if($where == " WHERE "){
				$ccase	.=	" AND `torrents`.`search_text` LIKE '%" . htmlspecialchars($stext) . "%'";
			} else {
				$where = " WHERE ";
				$ccase	.=	"`torrents`.`search_text` LIKE '%" . htmlspecialchars($stext) . "%'";
			}
		}
Reply With Quote