php iif code example Example: one lin if statement php <?php if ($requestVars->_name == '') echo $redText; ?>