naseri1152
پنج شنبه 05 مرداد 1396, 08:22 صبح
با توجه به دستور زیر چطوری بگم positiontypenews=2 خبرش نمایش نده یعنی اگر positiontypenews=2 این خبر نمایش داده نشود؟ چطور در دستور زیر اضافه کنیم؟
$sql = "select * from news where cat not in ".$cat." and st = 'showable' and position = 1 or position = 0 order by newsId DESC
$sql = "select * from news where cat not in ".$cat." and st = 'showable' and position = 1 or position = 0 order by newsId DESC