Re: setFlash('foo')

2008-02-17 Thread herc

Thanks.

On Feb 16, 5:04 pm, "Samuel DeVore" <[EMAIL PROTECTED]> wrote:
> probably because you wrapped it in an echo or a short tag, it auto echos
>
> don't
> Session->setFlash('foo'); ?>
> don't
> Session->setFlash('foo'); =?>
>
> do
>
> Session->setFlash('foo'); ?>
>
> it returns 'true' or 1
>
> Sam D
>
> On Feb 16, 2008 5:31 AM, herc <[EMAIL PROTECTED]> wrote:
>
>
>
> > Any idea why my $this->Session->setFlash('foo'); outputs Foo 1 in my
> > view? :)
> > CODE:
> > foo1
>
> --
> --
> (the old fart) the advice is free, the lack of crankiness will cost you
>
> - its a fine line between a real question and an idiot
>
> http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/http://blog.samdevore.com/cakephp-pages/my-cake-wont-bake/http://blog.samdevore.com/cakephp-pages/i-cant-bake/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: setFlash('foo')

2008-02-16 Thread Samuel DeVore

probably because you wrapped it in an echo or a short tag, it auto echos

don't
Session->setFlash('foo'); ?>
don't
Session->setFlash('foo'); =?>

do

Session->setFlash('foo'); ?>

it returns 'true' or 1

Sam D

On Feb 16, 2008 5:31 AM, herc <[EMAIL PROTECTED]> wrote:
>
> Any idea why my $this->Session->setFlash('foo'); outputs Foo 1 in my
> view? :)
> CODE:
> foo1
>
> >
>



-- 
-- 
(the old fart) the advice is free, the lack of crankiness will cost you

- its a fine line between a real question and an idiot

http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/
http://blog.samdevore.com/cakephp-pages/my-cake-wont-bake/
http://blog.samdevore.com/cakephp-pages/i-cant-bake/

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---