Hi there
I'm trying to cycle through entries inside a MySQL db and create numbered variables inside a for loop. Currently it doesn't seem to be working.
Here's an example of what I'm trying to do:
$i = 0;
while($row = mysql_fetch_row($result))
{
$i++;
$variable.$i = $row[0];
}
echo $variable1;
echo $variable2;
echo $variable3;
Any help would be much appreciated ;)