Wednesday, December 19, 2012

Re: Apply condition on assocaition

On Wed, Dec 19, 2012 at 3:14 AM, Ali Zaheer <zaheermujawar@gmail.com> wrote:
> i have three tables
>
> 1. Rates: [id, Price, CourseID, others...]
> 2. Course: [id, noofpoints, GCources_id, others....]
> 3. GCourcess: [id, WeekIncFriday, Type, others........]

Your table and column names are incorrect.

http://book.cakephp.org/2.0/en/getting-started/cakephp-conventions.html#model-and-database-conventions

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
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+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.

No comments: