<?php echo 'Welcome '.($user['is_logged_in'] ? $user['first_name'] : 'Guest').'!'; ?>

Php Conditional Welcome Message

Similar Code Examples