Yangi formatda davom etish uchun: https://uzfor.net/view.php?act=post&id=4509
Postga havola
Жасурбек [767] [off]
WapUsta, # WapUsta (05.10.2017 / 09:44)
$req = mysql_query("SELECT `cms_news`.*, `cms_news_cat`.`name` as `catname`, `cms_news_cat`.`id` as `catid` FROM `cms_news` LEFT JOIN `cms_news_cat` ON `cms_news`.`refid`=`cms_news_cat`.`id` WHERE `cmcatid bu yangilik bo'limining id raqami, shuning o'rniga bo'limni id raqamini yozing, keyin fapat shu bo'limdagi newslar chiqadi
$req = mysql_query("SELECT `cms_news`.*, `cms_news_cat`.`name` as `catname`, `cms_news_cat`.`id` as `catid` FROM `cms_news` LEFT JOIN `cms_news_cat` ON `cms_news`.`refid`=`cms_news_cat`.`id` WHERE `cmcatid bu yangilik bo'limining id raqami, shuning o'rniga bo'limni id raqamini yozing, keyin fapat shu bo'limdagi newslar chiqadi