Is skipping mysql queries possible?

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
jaymoore_299
Forum Contributor
Posts: 128
Joined: Wed May 11, 2005 6:40 pm
Contact:

Is skipping mysql queries possible?

Post by jaymoore_299 »

Is there any way I can skip a mysql query if it takes too long?

I have a mysql query that tracks traffic to my site and if the query takes too long then the page simply fails to load. If I put this on the bottom of the page the page loads but I get the headers already sent error message. Is there a way I can skip a query if it takes over, say 2 seconds to finish?
Post Reply