I am confused and not sure why this code is not working.
Here is the original code :
//start date to end date
<?php if($show5 < $show6) { ?>
<a>show content</a>
<?php }?>
If 'start date' and 'end date' values are empty then I want to remove or hide <?php if($show5 < $show6) { ?>
<?php }?>
and 'show content'.
And if 'start date' and 'end date' values are not empty then I want to remove or hide <?php if($show5 != '' && $show6 != '') { ?>
<?php }?>
and show content. If start to end date are not expired and if start to end date are expired then hide the content.
<?php if($show5 != '' && $show6 != '') { ?>
//start date to end date
<?php if($show5 < $show6) { ?>
<?php } ?>
<a>show content</a>
<?php if($show5 != '' && $show6 != '') { ?>
<?php } ?>
<?php }?>