rh4u
28-11-2007, 09:37 PM
Right, what is wrong with this script?
<?php require_once("resources/specialoffers.php");
if ($siteoffers = (false)) { ("<b><center><h1><font color=\"#000FFF\">Sorry, there are 0 Hosting Offers!</font></h1></center></b>"); } else { echo ("<b><center><h1><font color=\"#000FFF\"><a href=\"other.php?id=offers\">Their Are $offersmany Offers! It Is A $offer_type Special!</a></font></h1></center></b>"); }?>
Contents of specialoffers.php:
<?php
$siteoffers = false;
$offer_type = "Christmas";
$offersmany = "5";
?>
Because regardless, it will show that their is offers
Help Plx :)
Thanks.
<?php require_once("resources/specialoffers.php");
if ($siteoffers = (false)) { ("<b><center><h1><font color=\"#000FFF\">Sorry, there are 0 Hosting Offers!</font></h1></center></b>"); } else { echo ("<b><center><h1><font color=\"#000FFF\"><a href=\"other.php?id=offers\">Their Are $offersmany Offers! It Is A $offer_type Special!</a></font></h1></center></b>"); }?>
Contents of specialoffers.php:
<?php
$siteoffers = false;
$offer_type = "Christmas";
$offersmany = "5";
?>
Because regardless, it will show that their is offers
Help Plx :)
Thanks.