Afficher un message
Vieux 15/06/2008, 01h37   #7
larry@portcommodore.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: very basic: session_start();

On Jun 14, 11:02 am, "Twayne" <nob...@devnull.spamcop.net> wrote:

>
> > You need session_start() on all pages that needs to access the
> > $_SESSION array.

>
> > $_SESSION is just like an array variable, so if you want to segregate
> > data you could set a sub array of page data in $_SESSION...

>
> > $_SESSION['views'][1] = ...array of data...;
> >

> I think I'm starting to catch on; for whatever reason I've been totally
> misinterpreting some of these things including $_SESSION. It's always
> hardest for me to get the basics into my head when I start something new
> like this.


Sometimes it's a lot more simpler then you realize.

How to use arrays is a big part of making some cool PHP stuff,
especially how to handle them in form data and in $_SESSION. It's
taken me a while to wrap my brain around it too, but its worth it.
  Réponse avec citation
 
Page generated in 0,04771 seconds with 9 queries