Sorry, had to change the title of the thread
The $i gets printed correctly but somehow it just fills my database with "1"'s, that's something like 29366 rows !! That's really weird anyone know what this could be ?PHP Code:$i = 1 ;
while ($i <= 3) {
print $i; //just to check
$result = mysql_query("INSERT INTO nbalive_daybyday (GP, Nickname, PTS, FGM, FGA) VALUES ('$GP$i' , '$Nickname$i' , '$PTS$i', '$FGM$i' , '$FGA$i')");
$i++;
}






Reply With Quote