I'm trying to create a series of unique variables, based on a query result set.
for ($loopcount = $firstID; $loopcount < $firstID + $num; $loopcount++)
{
$var.$loopcount = $loopcount;
echo "<br>";
echo "$var7";
echo "<br>";
}
So let's say $firstID = 6 and $num = 3, I want to make three varibles called $var6, $var7, and $var8 with the values of 6,7,8. Any help would be appreciated.