Zero date order and "Show If" statement
I have an image set to display if the date in the database is less than or equal to today. However there are also some zero date values in the database and I don't want the image to display if the value is zero. How would I alter the following Show If statement to accommodate this?
<?php if(date("Y-m-d", strtotime($row_WADAclients['StagingDate'])) <= date("Y-m-d")) { // Show if column... ?>
<img src="../_images/staging-date.png"/>
<?php } // Show if column... ?>