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