Breaking News

executeQuery("SELECT id, headline, article FROM news WHERE (display = '1') ORDER BY createdon DESC LIMIT 4"); while($rs->next()) { list($intID, $strHeadline, $strArticle) = $rs->getCurrentValues(); if (strlen($strHeadline) > $intMaxLen) { $strHeadline = substr($strHeadline, 0, ($intMaxLen - 3)) . "..."; } //end if echo(""); echo(""); echo(""); echo(""); echo(""); echo(""); echo(""); echo(""); echo(""); echo(""); echo(""); } //end while ?>
"); echo("" . $strHeadline . ""); echo("
"); echo(CropSentence($strArticle, 200, "...")); echo("