Xurion Posted July 3, 2008 Share Posted July 3, 2008 Hi all, I am building a script where the user can import a large amount of records (like 19,000 or more). The script loops until all records are input into the database. It is working with a lesser amount of records (14,000 for example) but when I try 19,000 it doesn't work. Are there any limits to loops? Thanks in advance Xur~ Quote Link to comment Share on other sites More sharing options...
TransmogriBenno Posted July 3, 2008 Share Posted July 3, 2008 Perhaps the script is timing out - turn on error reporting and see what you get. Quote Link to comment Share on other sites More sharing options...
PFMaBiSmAd Posted July 3, 2008 Share Posted July 3, 2008 You are likely reaching a resource or execution time limit. Add the following two lines after your first opening <?php tag to get php to tell you what it knows - ini_set ("display_errors", "1"); error_reporting(E_ALL); Quote Link to comment Share on other sites More sharing options...
DarkWater Posted July 3, 2008 Share Posted July 3, 2008 Also, add a set_time_limit(0) and see if that helps you out. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.