php check if query returns results

Solutions on MaxInterview for php check if query returns results by the best coders in the world