Hi Guys,
I'm a novice at this and i'm bloody stuck!
Basically i want to display a div if theres a record in a table from either todays date or in the future.
Here comes my very bad code.....
Code:
<?php
// Retrieve Weekly Special Rate
$week_special_rate = exc_db_query("SELECT week_special_rate FROM calendar_weeks");
$week_special_rate_array = exc_db_fetch_array($week_special_rate);
?>
<?php
// Show Last Minute Deals button only if there are any deals to display at a date greater than current day
if ($week_special_rate > '0') { ?>
<article class="homefocusbox lastminbox">
<div class="focus_box_overlay">
<h3>Last Minute</h3>
<p>For details of our<br />current last minute<br />deals</p>
<p><a href="last-minute.php">Click here...</a></p>
</div>
</article>
<?php } ?>