I have to get in a template some code generated from a controller
(Lavoro).
I have write:
<p><span class="dicitura">Cliente :</span> <?php echo
$this->controller->Lavoro->getLavoro(); ?></p>
But php return an error :
"Fatal error: Call to a member function on a non-object in
c:\programmi\easyphp1-8\www\app\views\layouts\default.thtml on line 47"
Why ? How I have to do ?
Thanks.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to