PHP set of variables increment?
Alright, so I'm wondering if there is any way to do something like the following:
while ($count<8){ echo $i_need_incremented_"$count"; $count++; } such that the echo outputs what is contained inside $i_need_incremented_0 the first time, $i_need_incremented_1 the second time, and so on. -Chris |
PHP Code:
|
that doesn't output the contents of it though?
|
Well I am sorry ;)
PHP Code:
|
Awesome, thank you thank you. :) You're my new best friend.
|
Any way for php to parse this so I can use that specific variable in an if statement kinda thing?
-Chris |
PHP Code:
|
All times are GMT -5. The time now is 04:45 PM. |