I don't get this operation. Is that a quick if/else statement ?
Inside a HTML :
<?= $LU ? $LU : 0 ?>
Directly in PHP :
$LU ? $LU : 0
I have no idea what it does
I don't get this operation. Is that a quick if/else statement ?
Inside a HTML :
<?= $LU ? $LU : 0 ?>
Directly in PHP :
$LU ? $LU : 0
I have no idea what it does
This is called Ternary Operator, you can refer to the documentation.
The expression (expr1) ? (expr2) : (expr3) evaluates to expr2 if expr1 evaluates to true, and expr3 if expr1 evaluates to false.