A
Anonymous
Guest
One important detail is whether it's MySQL which is timing out, or if it's PHP that's timing out. I can't think of the way to do this in PHP off the top of my head, but I'm sure someone else will think of something.
If not, couldn't you just use JavaScript timer equal to the MySQL timeout length? Then if the data does come through, you can push out some JavaScript that will cancel the timer.
I'm curious what kind of query you're running that would cause PHP or MySQL to time out. I'm guessing your database could be optimized a bit more.
If not, couldn't you just use JavaScript timer equal to the MySQL timeout length? Then if the data does come through, you can push out some JavaScript that will cancel the timer.
I'm curious what kind of query you're running that would cause PHP or MySQL to time out. I'm guessing your database could be optimized a bit more.