06-30-2010, 08:15 AM
[eluser]WanWizard[/eluser]
I think you have an entirely different issue.
If I run this
it runs without problems (echo's #e9e9e9).
I think you have an entirely different issue.
If I run this
Code:
$d=date('Ymd');
$r = array('promoend' => '12-12-2001');
echo $c=(strtr($r['promoend'],array(" "=>"","-"=>"",":"=>""))>$d)?'#caffca':'#e9e9e9';