Sorry Thomas didn't see your answer :) On Thu, Sep 29, 2011 at 6:29 PM, Teddy Zeenny <teddyzee...@gmail.com> wrote:
> You don't need to have a semicolon if the statement ends with a php closing > tag ( ?> ). > > > On Thu, Sep 29, 2011 at 6:00 PM, Yves S. Garret < > yoursurrogate...@gmail.com> wrote: > >> Just going through the book tutorial. I got to this page: >> >> http://book.cakephp.org/view/1536/Creating-Post-Views >> >> At the very end you see this: >> >> <!-- File: /app/views/posts/view.ctp --> >> <h1><?php echo $post['Post']['title']?></h1> >> <p><small>Created: <?php echo $post['Post']['created']?></small></p> >> <p><?php echo $post['Post']['body']?></p> >> >> Wouldn't the echo $post[...] need a semicolon in the end for both cases? >> If this is indeed an issue, how do I go about notifying the documentation >> maintainers? >> >> -- >> Our newest site for the community: CakePHP Video Tutorials >> http://tv.cakephp.org >> Check out the new CakePHP Questions site http://ask.cakephp.org and help >> others with their CakePHP related questions. >> >> >> 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 >> > > -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. 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