Hi all, i need help to convert the following MySQL query to cakePHP find. I have 2 tables: subscribers and subscriber_contacts. One subscriber has many subscriber_contacts. The following is the MySQL query:
SELECT s.* FROM subscribers s, subscriber_contacts sc where s.id = sc.subscriber_id and sc.contact_no like '03-20934662%'; So question here: how to convert the above MySQL command into a find()? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---