RE: [PHP] Newbie Question: Variables on the fly
| From: | Dennis Seavers | Date: | Fri, 28 May 2004 04:31:19 +0000 |
| Subject: | RE: [PHP] Newbie Question: Variables on the fly | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-187088@lists.php.net to get a copy of this message | ||
Yikes!!
List members, I apologize for sending a reply-requested e-mail over this
list. Feel free to punish me by responding. What's worse: I took another
list member to task for the same thing!
"Ego deflation commences in 5 ... 4 ... 3 ... "
Dennis JackArse (the "JackArse" is silent)
> [Original Message]
> From: Dennis Seavers <deseavers@mindspring.com>
> To: <php-general@lists.php.net>
> Cc: <csnm@ns.sympatico.ca>
> Date: 05/27/2004 9:30:19 PM
> Subject: RE: [PHP] Newbie Question: Variables on the fly
>
> Maybe others will catch on to your intention, but I think you need to
> provide a bit more information. For example, what variables do you want
to
> create (drawn from a file source, or create on the fly)? Where will they
> come from (a database, perhaps)? You could create a script that creates
> variables from scratch, following a (hopefully) finite mathematical
> formula. Or you could manipulate data that already exists, turning this
> data into some kind of variables.
>
> Ultimately, you'll have to give a better of sense of the end result you'd
> like.
>
> Dennis Seavers
>
>
> > [Original Message]
> > From: <csnm@ns.sympatico.ca>
> > To: PHP List <php-general@lists.php.net>
> > Date: 05/27/2004 9:17:11 PM
> > Subject: [PHP] Newbie Question: Variables on the fly
> >
> > Hello,
> >
> > I'm sure this is a newbie question but I don't know the syntax.
> >
> > I want to create a series of variables within a php script at runtime
> with
> > a for loop.
> >
> > eg
> >
> > myVar1
> > myVar2
> > myVar3
> > etc....
> >
> > What is the proper syntax to do this?
> >
> > Thanks,
> >
> > Tim
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php