How to check MySQL results are empty or not. If MySQL query results are empty then else condition should not be executed. In case MySQL results in data there & in else c