i am able to insert only 1500 records into my table in mysql, but when I try to insert around 21,000 records, the browser freezes. what can be the problem? Also, i have noticed that everytime i run the program, i get a little more data inserted. For instance the fisrt time I run the program, i will have 1500 records, i delete the table et run the program again, and that time i will have 1550, then, 2500. Why is that? Any suggestions? The code is in php5 and my database in MySQL.

Thanks,