dont put echo debug($this->Book->Author->find('all')); just into
class controller - you need to put in some function (for exampplne
into index fuction)
2010/3/12 Mónico Briseño <[email protected]>:
> 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 [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
>
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