From: * R&zE: <[EMAIL PROTECTED]>
Date: Fri, Aug 31, 2001 at 04:36:36PM +0200
Message-ID: <[EMAIL PROTECTED]>
Subject: Re: [PHP] Variable Syntax Question
Btw... Why not just use an array?
and then:
foreach ($bob as $myValue) {
print ($myValue);
}
That's
From: Ninety-Nine Ways To Die <[EMAIL PROTECTED]>
Date: Fri, Aug 31, 2001 at 10:28:56AM -0400
Message-ID: <[EMAIL PROTECTED]>
Subject: [PHP] Variable Syntax Question
> I have a form that reads in a couple variables via:
>
>
>
>
>
>
> Now... I want to
I have a form that reads in a couple variables via:
Now... I want to read in those variables in something like the following:
for($i=1;$i<4;$i++) {
echo "$bob$i";
}
BUT that obviously doesn't work, it simple prints 1, so how to I make it echo the
value of the variable bob1?
-Hass
3 matches
Mail list logo