Answers for "php if shortand"

PHP
3

php ternary

$result = $condition ? 'foo' : 'bar';
Posted by: Guest on September-02-2020
2

php if short form

<?php echo ($qte > 0) ? $qte : 0; ?>
Posted by: Guest on November-14-2020

Browse Popular Code Answers by Language