All pastes #396136 Raw Edit

Stuff

public text v1 · immutable
·published 2007-03-15 15:03 UTC
rendered paste body
<?php echo $sf_request->hasError('email')
  input_tag('email',null,array('class' => 'errorbg')) 
  :
  input_tag('email'); 
?>

same as:

<?php 
if ($sf_request->hasError('email'))
  echo input_tag('email',null,array('class' => 'errorbg'));
else
  echo input_tag('email');
?>