how can i translate this into cake code? with the form helper
<label>Year
<input name="year" type="text" id="year" value="<?php echo($year); ?
>" />
</label>
im trying to use this but its not working
<div class="optional">
<?php
echo $form->labelTag('year', 'Year');?>
<?php echo $html->input('year', array('size' => '60'));?>
<?php echo $html->tagErrorMsg('year', 'Please enter the Year.');?>
</div>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---