PHP:
<?php echo $html->selectTag('Tag/Tag', array(1,3,4), null,
array('multiple' => 'multiple'));?>


Page Source:
<select name="data[Tag][Tag][]"  multiple="multiple" id="TagTag">
<option value="" >&nbsp;</option>
<option value="0"  selected="selected">1</option>
<option value="1" >3</option>
<option value="2" >4</option>
</select>

Why does the SELET have an empty option? How to make it come without
any empty option?


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to