|
#1
|
|||
|
|||
Hide/Show
Hi
I want to get at details.php when it showing a certain category of torrents poster and description, but the rest of the torrents not showing poster and description. code looks like this around Code:
if ($row["cat_name"] == "Movies/XviD"){ if (!empty($row['poster'])) { tr($tracker_lang['img_poster'], $poster, 1); } if (!empty($row["descr"])) { tr($tracker_lang['description'], format_comment($row["descr"]), 1, 1); } } But i want if it works for more of categories some think like this Code:
if ($row["cat_name"] == "Movies/XviD") && ($row["cat_name"] == "Music"){ if (!empty($row['poster'])) { tr($tracker_lang['img_poster'], $poster, 1); } if (!empty($row["descr"])) { tr($tracker_lang['description'], format_comment($row["descr"]), 1, 1); } } What is that I am doing wrong? Help please :) |
Tags |
hide or show |
|
|