I have a site where I am trying list properties from a database. I have these set in the database with active = 0 or 1. (0- not active, 1-active) I am trying to present these in a list which i already have done. But if there are no active properties then i want it to post "There are no active listings." If there are active properties then it will show the table with the properties.