Hi,

Does anyone can suggest me a good tutorial, how to use the
HtmlHelper::selectTag function with multiple selection fields?

How can I achieve, that when editing an existing DB entry the multiple
select list renders with the current DB values?

(I tried first the "simple select", but it did not render the current
DB values...
here is the code:
<?php

echo $html->selectTag('News/sector', array('' => 'Choose Value', '1'
=> 'Automobile'), '', array('class'=>'category_sector'), null, false,
false);

?>


)

Best,

korcs


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

Reply via email to