You don't need the echo - just debug() will suffice.

Jeremy Burns
jeremybu...@me.com

On 12 Mar 2010, at 15:54, Mónico Briseño wrote:

> Hi, all.  Paul, I did your suggestion. I got the following:
> 
> 
> <?php
> class BooksController extends AppController {
> echo debug($this->Book->Author->find('all'));
> }
> ?>
> 
> Output 
> 
> 
> Parse error: syntax error, unexpected T_STRING, expecting T_FUNCTION in 
> /var/www/relationship/app/controllers/books_controller.php on line 3
> 
> 
> Cheers
> -- 
> M.S. Mónico Briseño Cortés
> Instructional Technologist  Univ. Houston
> Moodle Teacher Certificate
> NTCM member
> 
> 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 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

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 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

Reply via email to