Re: Model function issue

2008-02-13 Thread Samuel DeVore
look in the book in the model attributes section http://book.cakephp.org/view/66/models#model-attributes On Feb 13, 2008 2:10 AM, Kishor <[EMAIL PROTECTED]> wrote: > > Hi folks, > > I'm facing following problem with cakephp model function > >print_r($this->Post->findAll()); > > ##Above f

Model function issue

2008-02-13 Thread Kishor
Hi folks, I'm facing following problem with cakephp model function print_r($this->Post->findAll()); ##Above function prints all records before below insert $this->Post->query("INSERT INTO `cake_blog_tutorial`.`posts` (`id` ,`title` ,`body` ,`created` ,`modified`)VALUES (NULL ,