ThX!!
On Apr 19, 2:10 pm, Krommenaas <[EMAIL PROTECTED]> wrote:
> On Apr 19, 6:53 pm, Wizardry <[EMAIL PROTECTED]> wrote:
>
> > @ Krommenaas:
> > I tried using echo directly, but it pops up an error saying missing
> > index view.
> > could you pls post a code snippet on how your controller would look if
> > you were to simply echo 'Hello'?
>
> <?php
> class PostsController extends AppController {
>
> function test() {
> echo "<h1>hello</h1>";
> exit;
> }
>
> }
>
> browsing to /posts/test will just show "hello".
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---