I'm new to cakephp and frameworks in general. Right now I'm working
with two models Systems and Ips. System hasMany Ip and Ip belongsTo
System. I want to create a paginate condition for Systems that uses
both models. E.g.:
array("System.user like" => "%".$search."%", "Ip.address like" => "%".
$search."%")
This gives a sql error, unknown table Ip. Is there a way to
accomplish this easily within cake?
Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---