You need to edit your view file. You can do a debug( $variableName ) on the data you are sending to the view. You will notice a different array structure for hasMany as compared to hasOne.
On Apr 24, 9:34 am, taq <taqman...@gmail.com> wrote: > databasehttp://upic.me/i/v4/database.jpg > book modelhttp://upic.me/i/qp/modelbook.jpg > book catagorie modelhttp://upic.me/i/an/model.jpg > view eror messagehttp://upic.me/i/ov/xview.jpg > i test hasOne and belongsTo between books and bookcats it's no eror > but i test hasMany i got error in view error message > > On Apr 24, 1:55 pm, Jens Dittrich <jdittr...@gmail.com> wrote: > > > > > > > > > if you expect help, then you shoul consider sharing more information > > about what you have done. > > > On 24 Apr., 07:42, taq <taqman...@gmail.com> wrote: > > > > I set up a table and try to do hasmany Ee Long says can not find. > > > But when put into the back hasone found it simple tight -- 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 cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php