rbrown
12-18-2007, 07:50 AM
Hi can anyone help me fix this code? it just doesnt seem to work, i have to have the image expire on a particular day thanks.
i would prefer to fix this code rather than any alternatives, thanks
<td class="smheader" style="text-align: center;">
<?php
$now = time();
$expire = strtotime('2007-12-17 00:00:00');
if ($expire < $golive) {
echo '<a href="/globals/partnerurls/redirect.php?language=EN&partner=TRIEST&pos=TOURISTBOARDS_PAGE" target="_blank"><img src="/site/partners/img/touristboards/trieste.gif" width="200" height="110" border="0" /></a>';
} else {
return false;
}
?>
</td>
i would prefer to fix this code rather than any alternatives, thanks
<td class="smheader" style="text-align: center;">
<?php
$now = time();
$expire = strtotime('2007-12-17 00:00:00');
if ($expire < $golive) {
echo '<a href="/globals/partnerurls/redirect.php?language=EN&partner=TRIEST&pos=TOURISTBOARDS_PAGE" target="_blank"><img src="/site/partners/img/touristboards/trieste.gif" width="200" height="110" border="0" /></a>';
} else {
return false;
}
?>
</td>