Hi, I need a bit of help using $this or findfirst. I have a model 'requests' containig date,time, customer etc. requests $hasOne booking I have a model 'booking', $belongsTo requests
I modded the add function of bookings to get some parameters i.e. request_id to pass it to my booking-form. Now I would like to echo the request data belonging to the booking - inside the bookingview to gice a more detailed look. My idea to use $this->request->date1 and $this->request->date2, $this- >request->detail3 did not work. So I could need a short help how to refer my data from other models with one fitting information (unique id or a string) and display id inside the view. Ho to show data of the request model in the bokkings views? Thank you. Michael 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
