Answers for "singe line if condition in php"

PHP
2

one line if statement php

echo ($var1 >= $var2) ? 'this is true' : 'this is false';
Posted by: Guest on April-19-2021
1

one lin if statement php

<?php if ($requestVars->_name == '') echo $redText; ?>
Posted by: Guest on August-17-2020

Code answers related to "singe line if condition in php"

Browse Popular Code Answers by Language