Source Code:
(back to article)
<?php $is_logged_in = true; $result = ($is_logged_in) ? 'You are logged in' : 'You are not logged in'; echo $result;
Result:
Report an issue