It's a personal thing, but I'm not a fan of that book. Some of the code samples are wrong and it doesn't stick to conventions (show => view?).
Jeremy Burns
jeremyburns@me.com
On 26 Mar 2010, at 10:01, Alper K. Tunç wrote:
> Hi all,
> I'm going over the QuickWall example in CakePHP Application
> Development book by Ahsanul Bari and Anupom Syam.
>
> In the example, there is a line where the questions are produced:
> <?php e($html->link($question['Question']['question'].'?',
> array('action' => 'show', $question['Question']['id']))); ?>
>
> The strange thing is that this code produces the following link:
> http://localhost:777/index.php/questions/questions/show/1
>
> where it should be
> http://localhost:777/index.php/questions/show/1
>
> Why do you think am I missing?
> Thank you.
> Alper
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
>
> You received this message because you are subscribed to the Google Groups "CakePHP" group.
> To post to this group, send email to cake-php@googlegroups.com
> 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?hl=en
>
> To unsubscribe from this group, send email to cake-php+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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?hl=en
To unsubscribe from this group, send email to cake-php+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
No comments:
Post a Comment