|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
rustybucket Smarty Regular
Joined: 28 Jan 2009 Posts: 60
|
Posted: Mon Jan 18, 2010 4:08 pm Post subject: sleep() php script causes db to loose connection |
|
|
This is not really a smarty question, more of a php question, maybe a mysql question....?
I have a php script that needs to sleep() for a few seconds on each iteration as it iterates through a foreach statement. When this happens the script looses the db connection.
I'm using the PEAR DB database abstraction layer MySQL and Smarty (and php of course).
Thanks in advance for any guidance or suggestions you guys may be able to provide.
Thanks,
rusty |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|