Answers for "php echo with ternary operator"

PHP
0

echo ternary php

echo (isset($options['footer_txt_color'])) ? $options['footer_txt_color'] : '#ffffff';
Posted by: Guest on November-04-2020
1

ternary in php

print ($marks>=40) ? "pass" : "Fail";
Posted by: Guest on December-03-2020

Browse Popular Code Answers by Language