 |
Divine
Brothers Company is dedicated to creating a rich relationship between
our company and customers. You may use this page to explore new products
and promotional offers. If you are unable to locate the information
youre interested in, please contact us.
//--------------------------------------------------------------------------
$username = "mysql85786_2";
$password = "8621tami";
$database = "mysql85786_2";
mysql_connect("dbs01.northlandcom.com",$username,$password);
@mysql_select_db($database) or die( "Unable to select database");
//---------------------------------------------------------------------------
$strSQL = "SELECT * FROM `newsitems` WHERE `expires` > curdate() and `startdate` < curdate() order by `newsitem_id` desc";
$getnewsitem= mysql_query($strSQL) or die('Sorry no current news items');
?>
if (mysql_num_rows($getnewsitem) == "0"){ ?>
Sorry no current news items |
} else
$num2=mysql_num_rows($getnewsitem);
{
while ($j < $num2) {
$newsitem_id = mysql_result($getnewsitem,$j,"newsitem_id");
$title=mysql_result($getnewsitem,$j,"title");
?>
echo $title ?> |
$j++;
}
}
?>
Click here to view the archive |
|
 |