Show text if date has expired PHP
Hi Ray,
I am trying to have some text display if the expiration date has passed.
What I have is 	  
<?php echo(date("m/d/Y", strtotime($WADAcertification->getColumnVal("cpr")))); ?><?php
  if ("".($WADAcertification->getColumnVal("cpr"))  ."" < "strtotime('-1 day'))") {  // WebAssist Show If
?>
                 <span class="red">EXP</span>
                 <?php
  } // ("".($WADAcertification->getColumnVal("cpr"))  ."" < "strtotime('-1 day'))")
?>
Not sure what I am missing.
thx
Eric

 







 
     
     
    







