Yangi formatda davom etish uchun: https://uzfor.net/view.php?act=post&id=4508
Postga havola
WapUsta [675] [off]
mana shu kodni yangiliklarni ajratib qo`yish kerak bo`lyapdi
refid` = '16' order shuni qo`yish kerak qanday qilib yuqoridagi kodga moslasa bo`ladi?
$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 `cms_news`.`time` > '$reqtime'".(self::$user_rights < 7 ? " AND `cms_news`.`time`<='" . time() . "'":"")." ORDER BY `cms_news`.`time` DESC LIMIT " . $this->settings['quantity']);
mana shu kodni yangiliklarni ajratib qo`yish kerak bo`lyapdi
refid` = '16' order shuni qo`yish kerak qanday qilib yuqoridagi kodga moslasa bo`ladi?