heres my code,
with this code ProductIDs stop at 1500
$ProductIDCounter = 500;
while ($ProductIDCounter < 1600) {
$query = "INSERT INTO tblProduct (ProductID,ProductName,ProductDescription) VALUES ($ProductIDCounter,'eka tuote', ' tuoteselostetta sitten on')";
mysql_query ($query)
or die ("Query failed");
//$result = mysql_query ($query)
//or die ("Query failed");
$ProductIDCounter = $ProductIDCounter + 1;
print $ProductIDCounter;
}