I am trying to check if mysql_fetch_array () returns an empty array or not. But my code does not seem to work. Here I want to make sure that if the array is empty, I want to display a construction message.
The code:
$queryContents= queryMembers(); $exeQuery = mysql_query($queryContents); while($fetchSet = mysql_fetch_array($exeQuery)) { if(count($fetchSet) == 0) { echo "This Page is Under Construction"; }else{
How to check to perform such a function?
source share