LPMJ Example 4-26 (Click on the icon to view the source for copy and pasting)
<?php
echo $fuel <= 1 ? "Fill tank now" : "There's enough fuel";
?>