
September 19th, 1999, 01:41 PM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
Does anyone know how to combine two variables into one? I have two variables containing information.
$a and $i
$a = a1 is a variable sent from a previous page, and I want to output the variable within a loop because there are more variables (a1, a2, a3, a4 .....)
so what I'm trying to do is this:
$i = 1
while ( $i <= 4 ) {
here I want to echo a1 by $a&$i Does anyone know how to put these two together? so I can output in the loop?
$i++;
}
thanks, I hope you guys can understand what I'm asking for....
|