stevenoone,

Unfortunatly there's huge lacking of documentation for this framework
which makes the learning curve extremely steep.  I'm fairly new to
Cake myself, but it seems like they are going backwards in terms of
documentation.  I was never around for the wiki, but see several links
to resources that may have been very helpful

As for your question, I just throw something like this right above the
selectTag call:

$selected = array();
foreach($params['data']['Location'] AS $info) {
        $selected[] = $info['id'];
}

It seems to do the trick for me.  I suppose you could put it in the
controller as well though.

I would also stay away from using manual queries (or why would you be
using a framework?)  Try using a findAll($conditions) instead.



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