I am pulling rows of data from a MySQL database, dumping them into a table on a web page to be edited and submitting to the code below.
There are 649 rows of data in the MySQL table, and my web form sends 4 pieces of data from each row in the MySQL table. There should be 2596 pieces of data.
The below stops with a count of 1000 every time. If I delete the top ten rows of data in the MySQL table - it still stops at 1000.
I have increased timeout in php.ini (doubled it). I have went from 256 mb memory to 2 gb memory, and back to 1 gb memory - if I change memory in php.ini to 128mb it still stops at 1000.
This code worked when the MySQL table had under 300 rows of data.
Any help troubleshooting or possible solutions greatly appreciated.
<?php
ini_set('memory_limit', '1024M');
$mycount = 0;
foreach($_POST as $key=>$value)
{
echo "$key=$value";
echo " count: ".$mycount;
$mycount = $mycount +1;
echo "<br />";
}
?>