How can I output the following form element as text only?
<?php echo $form->textField($model,'create_time'); ?>
I know i can disable it, but that still obviously leaves it in an input field
<?php echo $form->textField($model,'create_time',array('disabled'=>'disabled')); ?>
I just want the contents echoed out in plain text so that I can have a neat little summary at the top of a form… I dont want the user to be able to edit it, or have a screen full of disabled elements…
EDIT
I appologise for wasting your time, on behalf of myself, my family, my country and its Queen. I blame it on stress.
<?php echo CHtml::encode($model->update_time); ?>
O…M…G…
10 PRINT "IM AN IDIOT"
20 GOTO 10