Ah, I just discovered a problem - I now have 6 images, one of which should appear when a date is within 1 month, 2 months... up to 6 months. All 6 images appear when the code is <?php if(date("Y-m-d", strtotime($row_WADAclients['StagingDate'])) > date("Y-m-d", strtotime("+6 months"))) { // Show if column... ?>
I need to hide the other images so I think the strtotime function needs to change - rather than saying > 2 months for example, I actually need to say 'between 1 month and 2 months,' so that the images in the other Show Ifs don't show - how would I change it to do that?