give a better of sense of the end result you'd
like.
Dennis Seavers
[Original Message]
From: <[EMAIL PROTECTED]>
To: PHP List <[EMAIL PROTECTED]>
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
* Thus wrote Steve Edberg ([EMAIL PROTECTED]):
> At 2:01 AM -0300 5/28/04, [EMAIL PROTECTED] wrote:
>
> However, most of what you can do with them can be done more simply
> with arrays. In your example above, use
>
> myPage.php?dataPoint[]=10&dataPoint[]=20&dataPoint[]=30
>
I'd also sugg
nipulate 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: <[EMAIL PROTECTED]>
To: PHP List <[EMAIL PROTECTED]>
Date: 05/27/20
ct vars by extract() to make them in normal shape
if you get my point
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, May 28, 2004 8:01 AM
Subject: RE: [PHP] Newbie Question: Variables on the fly
> Thanks for
;ll have to give a better of sense of the end result you'd
like.
Dennis Seavers
> [Original Message]
> From: <[EMAIL PROTECTED]>
> To: PHP List <[EMAIL PROTECTED]>
> Date: 05/27/2004 9:17:11 PM
> Subject: [PHP] Newbie Question: Variables on the fly
>
> Hello,
;JackArse" is silent)
> [Original Message]
> From: Dennis Seavers <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Date: 05/27/2004 9:30:19 PM
> Subject: RE: [PHP] Newbie Question: Variables on the fly
>
> Maybe others will catch
ssage]
> From: <[EMAIL PROTECTED]>
> To: PHP List <[EMAIL PROTECTED]>
> 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 crea
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 unsu
8 matches
Mail list logo