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) . "%'";
}
}