warrenk Posted February 19, 2007 Share Posted February 19, 2007 I have a PHP page that runs a SQL after the submit button is pressed. The SQL is a insert. When I run the SQL from PHPMYADMIN, the SQL works fine. When I submit the SQL from the PHP page, it looks like the SQL times out. The SQL does take a little while to run. Is there anyway to change my page so it doesn't time out? Thanks! Warren Link to comment https://forums.phpfreaks.com/topic/39158-sql-times-out/ Share on other sites More sharing options...
xyn Posted February 19, 2007 Share Posted February 19, 2007 have any code to display? Link to comment https://forums.phpfreaks.com/topic/39158-sql-times-out/#findComment-188563 Share on other sites More sharing options...
monk.e.boy Posted February 19, 2007 Share Posted February 19, 2007 Put this near the top of the script: ini_set('max_execution_time',3600); http://uk2.php.net/set_time_limit monk.e.boy http://teethgrinder.co.uk Link to comment https://forums.phpfreaks.com/topic/39158-sql-times-out/#findComment-188592 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.