You have not entered a News ID! Please make sure you include a valid News ID in the URL.
"; echo "Return to the Newsroom.
"; return false; } $newsID = (integer)$_GET['newsID']; $newsQuery = "select newsID, newsTitle, monthname(newsDate) as newsMonthName, dayofmonth(newsDate) as newsDay, year(newsDate) as newsYear, newsDate, newsLead, newsText, contactInfo, additionalInfo, graphicURI, graphicAltText from news where newsID=$newsID"; $newsResult = mysql_query($newsQuery); $num_news = mysql_num_rows($newsResult); if ($num_news == 0) { echo "There is no news story associated with the News ID you suppled. Please make sure that you have the correct News ID.
"; echo "Return to the Newsroom.
"; return false; } //If there are results then we start to process them. list($newsID,$newsTitle,$newsMonthName,$newsDay,$newsYear,$newsDate,$newsLead,$newsText,$contactInfo,$additionalInfo,$graphicURI,$graphicAltText) = mysql_fetch_row($newsResult); //This is the actual details-part of the page. echo "".(strtoupper(stripslashes($newsTitle)))."
"; echo "".(stripslashes($newsMonthName))." ".(stripslashes($newsDay)).", ".(stripslashes($newsYear))."
"; if ($graphicURI) { echo "";
echo "";
echo "
";
echo "
";
}
echo ""; echo " |
".(stripslashes($graphicAltText))." | ";
echo "
"; echo (stripslashes($newsLead))."
"; echo (stripslashes($newsText)); if ($contactInfo) { echo "".(stripslashes($contactInfo))."
"; } if ($additionalInfo) { echo "".(stripslashes($additionalInfo))."
"; } echo "Return to the Newsroom.
";
echo "Scan the Museum's News Archive.