Yvyvv 0 Posted May 14, 2017 Report Share Posted May 14, 2017 Здравствуйте! У меня на странице есть описание раздела, для page я запретил что бы там не показывался текст, данным кодом if ( $_GET['cat']=='60' and (empty($_GET['page']) or $_GET['page']=='0') ){ echo ' Вопрос как еще закрыть что бы текст не показывался по ссылкам, когда выбираю тэги к разделу, ?tag=%E1%E8%EE%E3%F0%E0%F4%E8%FF&incldead=1&cat=25 как тут сделать что бы текст не отображался. что я сверху дал код что внести туда? подскажите пожалуйста. Quote Link to post Share on other sites
qpPeW 191 Posted May 14, 2017 Report Share Posted May 14, 2017 if(isset($_GET['tag']) && $_GET['cat']=='60' && (empty($_GET['page']) || $_GET['page']=='0')){ echo ''; } Quote Link to post Share on other sites
Yvyvv 0 Posted May 14, 2017 Author Report Share Posted May 14, 2017 if(isset($_GET['tag']) && $_GET['cat']=='60' && (empty($_GET['page']) || $_GET['page']=='0')){ echo ' тут текст '; } Что то вообще не показывает тогда текст не где. Quote Link to post Share on other sites
kkey80 62 Posted May 14, 2017 Report Share Posted May 14, 2017 перед "isset", добавьте: "!", что получилось !isset($_GET Quote Link to post Share on other sites
Yvyvv 0 Posted May 14, 2017 Author Report Share Posted May 14, 2017 5 минут назад, kkey80 сказал: перед "isset", добавьте: "!", что получилось !isset($_GET qpPeW Спасибо Вам! Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.