Can there be more than two ternary operators?

the first paragraph is that I want to decide whether $_ GET ["status"] is empty. Yes, please indicate

$_GET["status"]!=""? x :"" ;

but in x I want to add another criterion

$_GET["status"]==1 ?"":"";

that is, when you make sure that the status is not empty
"judge" if it is 1, then the
is on the shelf

if it is not, it means that it is not public

.
Mar.04,2021

add it directly:

$_GET['status'] != ''? ($_GET['status'] == 1 ? '' : '') : '';

add parentheses

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eb54ad-5d35e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eb54ad-5d35e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?