Ok Thank You SIr.

I more thing Can you please tell me following thing:


I have one table * messages *
I have also take one table *book_favourites*
I have also table book in which I have taken foreign Key user_id
*
*
*
*
Now in *book_favorites *table I have foreign keys *book_id and user_id *

Same In *messages *table I have  foreign keys *book_id and user_id ,but* this
are showing error like cannot add or update child row

So is there any way Instead of taking fields *book_id and user_id *direct
id of the book table
*
*
*
*
*Thank YOu*
*
*
*
*
*
*
*
*

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to