Thursday, September 29, 2011

Re: Is this a syntax error in the 1.3 book?

Don't apologize to me, apologize to the server hosting the mailing
list :D

Am Donnerstag, den 29.09.2011, 18:30 +0300 schrieb Teddy Zeenny:
> Sorry Thomas didn't see your answer :)
>
> On Thu, Sep 29, 2011 at 6:29 PM, Teddy Zeenny <teddyzeenny@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
> <yoursurrogategod@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+unsubscribe@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+unsubscribe@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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: