Best thing to do would be to read through the blog tutorial to give yourself a better understanding of how that all works. My guess is you did something along the lines of $this->Picture->id = $id; $this->Picture->read();
If you did something like the above two lines then change it to be $myPicture = $this->Picture->read(); Then you can use $myPicture to read out all the information stored with in the $myPicture which is going to be an array. On Apr 16, 9:01 am, Clemens <clemens.kro...@gmail.com> wrote: > Hi. > > I'm new to cakephp. In debug-mode i see a running queries: > > SELECT `Picture`.`id`, `Picture`.`project_id`, `Picture`.`name`, > `Picture`.`description`, `Picture`.`type`, `Picture`.`size`, > `Picture`.`data`, `Picture`.`created`, `Picture`.`modified` FROM > `pictures` AS `Picture` WHERE `Picture`.`project_id` = (8) > > How can I access this query? I want to display all db entries I can > find with this query! > > Thanks in advance. > > Best. --~--~---------~--~----~------------~-------~--~----~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---