ZF-7538: Error " Using $this when not in object context "
Im a beginner in Zend Framework World ,I started with quickstart tutorial but I have a problem when I want to access a guestbook page an error is showed
Fatal error: Using $this when not in object context in D:\qt\quickstart\application\views\scripts\guestbook\index.phtml on line 1 This is my index.phtml file:
/* this is an error line */
- <?php echo $this->escape($entry->email) ?>
- <?php echo $this->escape($entry->comment) ?>