I've a php script to insert and update the table , but the number of rows for insert and update are huge and it takes around 15 minutes to complete. And I need to retrieve the data from the table in the same script , however I think due to long loading duration , the data cannot be retrieved and cannot be shown . But the values in the table are correct and updated .
let's say in abc.php , I
Code: Select all
include "insert.php"; //It takes around 15 minutes to insert and update the table
below the insert.php , I retrieve all the information from the table . But due to the long loading time , It cannot be displayed .
Any idea how to solve this ? I need to do the insert and retrieve in a same php script so that the information in the page will not loss .
