Can one and if yes how can one write a Php MySQL command that tells Php
SELECT this command from MySQL
but if it takes more than 5 Seconds to get an answer from MySQL regarding this
SELECT then stop waiting for it and instead return 0 (or X) and go on to the
next command.
Thanks for your suggestions.
But the issue is not that simple.
And really only away around it is if Php MySQL had a command which would allow for a certain
amount of time of a wait for an answer to come back and if none has come back in that X time
then for that SELECT to abort and move on to the next command (line), rather than hang the
whole program when a given server does not respond to a SELECT command.
Actually I was not replying to another thread and still maintain that a query should be simplified and the results used to create a more complex query.
I would still like to know further details of the failed query that requires aborting after 5 seconds.