Код: Выделить всё
$orderby = $_REQUEST['orderby'];
if (strpos($orderby, 'd') === true) {
echo "exists";
} else {
echo "not ";
}
Подробнее здесь: https://stackoverflow.com/questions/537 ... urns-false
Код: Выделить всё
$orderby = $_REQUEST['orderby'];
if (strpos($orderby, 'd') === true) {
echo "exists";
} else {
echo "not ";
}