Re: Variable problem
| From: | Randy Johnson | Date: | Mon, 04 Feb 2002 15:00:27 +0000 |
| Subject: | Re: Variable problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-83395@lists.php.net to get a copy of this message | ||
I heard before that you can store session variables in a database rather
than using the tmp directory etc etc.. Does anybody have any links on
this?
Thanks
Randy
----- Original Message -----
From: "Yoel Benitez Fonseca" <kram@csd.uo.edu.cu>
To: <php-general@lists.php.net>
Sent: Friday, January 18, 2002 2:26 PM
Subject: RE: [PHP] Variable problem
> Use an array !?, I mean :
>
> $result[$i] = "test";
>
> > How do I combine the following so it is treated as one variable
> >
> > $i=10
> >
> > $result$i="test";
> >
> >
> > I want this to be:
> >
> >
> > $result10="test";
> >
> >
> > $i changes so I cannot just put in 10 instead of I.
> >
> >
> > anybody know how i can do that?
> --
> Yoel Benitez Fonseca
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net