Hi,
I have a loop which inserts data to database .I need to insert 500 records one by one in a loop.
<?
for($i=0;$i<500 ;$i++){
---values insert into db
}
?>
After 30 -40 records inserting i am getting maximum execution error. Is there any alternative to handle this situation.
I have a loop which inserts data to database .I need to insert 500 records one by one in a loop.
<?
for($i=0;$i<500 ;$i++){
---values insert into db
}
?>
After 30 -40 records inserting i am getting maximum execution error. Is there any alternative to handle this situation.
Comment