Question : php shorthand if isset post
Answered by : frail-finch-ti90cc9q5kp9
$name = isset($_POST['submit']) ? $_POST['name'] : null;
Source : https://stackoverflow.com/questions/7477966/php-shorthand-for-isset-form-post-value | Last Update : Tue, 29 Dec 20
Question : php shorthand if isset
Answered by : frail-finch-ti90cc9q5kp9
$var = $var ?? "default";
Source : https://stackoverflow.com/questions/18603250/php-shorthand-for-isset | Last Update : Fri, 05 Jun 20