Your right :)
I think he's using the brackets instead of parenthesis
in the echo's.
Change the {} to ()
--- John Nichel <[EMAIL PROTECTED]> wrote:
> Daniel Guerrier wrote:
> > The second page should be
> >
> > <?php
> > session_start();
> > echo { $_SESSION['foo'] . "<BR>\n");
> > echo { $_SESSION['bar'] };
> > ?>
> >
> > you're missing the session_start()
> >
> > You need it on every page that you plan to use
> session
> > on.
>
> He has session_start() on page two.
>
> <snip>
> >>>
> >>>page2.php
> >>>----------
> >>><?php
> >>> session_start();
> >>> echo "foo = {$_SESSION['foo']}";
> >>> echo "bar = {$_SESSION['bar']}";
> >>>?>
> >>
> >>Same here....
> >>
> >><?php
> >> echo { $_SESSION['foo'] . "<BR>\n");
> >> echo { $_SESSION['bar'] };
> >>?>
> </snip>
>
> --
> By-Tor.com
> It's all about the Rush
> http://www.by-tor.com
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php