Posted by insideview on 12/01/06 06:45
Hi, I've got this loop, and don't know how to express a variable:
I have:
<? $count=0; while($count<$total) { $string1 = ($some array stuff....
Bascially, I want it to work this way
<? $count=0; while($count<$total) { $string[$count] = ($some array
stuff....
so I there it would generate $string1, $string2, ... etc.... but this
doesn't work since I am assigning it to AN ARRAY!
I thought
<? $count=0; while($count<$total) { $string . $count = ($some array
stuff....
But no go. How would I work this out? :)
[Back to original message]
|