if mysql_query is not empty


/ Published in: SQL



Copy this code and paste it in your HTML
  1. $query = mysql_query();
  2.  
  3. IF ( mysql_num_rows($query) != 0 ) {}

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.