You don't need the semicolon if you end the PHP script block with '?>'. Although you can add the semicolon, it makes no difference to the interpreter.
Kind regards Thomas Am Donnerstag, den 29.09.2011, 11:00 -0400 schrieb Yves S. Garret: > 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