gwoo that is the model I used. Nothing I have found works to lookup the
id of a category  when the category tree is passed via the url as
params. The function crazylegs wrote is logically sound but why would I
execute N queries to get to the id only to use it to do lookups against
other tables?

Just to clarify the logic is all in the model. The controller is only
calling the model function and passing the params in.


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