My friend.. very simple... use a transaction to do that...
BEGIN; insert into ... insert into ... insert into ... insert into ... ... ... ... insert into ... COMMIT; I usually insert 10000 in 5 seconds in a non good PC -- Cesar Rodas http://www.phpclasses.org/grank