Ok :)
Assuming that your models then also are named in accordance with the
CakePHP conventions, your models should be related as follows (defined
in the respective models):

Tag hasAndBelongsToMany Image
Image hasAndBelongsToMany Tag

Student hasAndBelongsToMany Image
Image hasAndBelongsToMany Student

You stated in your first post that "I want to find record using
tag_name and student_id" - can you explain which record you want to
find?
Enjoy,
   John

On May 17, 10:05 am, Dilip Godhani <[email protected]> wrote:
> yes sir i give that name accordance with the CakePHP?
>
> But i not working can u explain me step by step?plz
> Thanks
>
> On Mon, May 17, 2010 at 12:31 PM, John Andersen 
> <[email protected]>wrote:
>
>
>
[snip]

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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

Reply via email to