\n"); print("\n"); print(" \n"); print(" Movie City News\n"); print(" http://www.moviecitynews.com\n"); print(" en-us\n"); print(" " . date("D, d M Y H:i:s") . " EST\n"); print("\n"); print(" " . date("D, d M Y H:i:s") . " EST\n"); print(" \n"); print(" MovieCityNews.com\n"); print(" http://www.moviecitynews.com/ads/mcn/125_mcn.jpg\n"); print(" http://www.moviecitynews.com\n"); print(" \n"); $mySQL_data = "SELECT id, headline, url, substring(body,1,175) AS body, pub_date FROM moviecity_articles ORDER BY pub_date DESC LIMIT 20;"; $query_data = mysql_query($mySQL_data); while($info_data = mysql_fetch_array($query_data)) { $info_data_title = str_replace("", "'", $info_data[headline]); $info_data_link = $info_data[url]; $info_data_description = str_replace("", "'", $info_data[body]); $info_data_description = str_replace("", "\"", $info_data_description); $info_data_description = str_replace("", " ", $info_data_description); $info_data_description = str_replace("", " ", $info_data_description); $info_data_pub_date = $info_data[pub_date]; print(" \n"); print("\n"); print(" " . htmlentities($info_data_title) . "\n"); print(" " . htmlentities($info_data_link) . "\n"); print(" " . htmlentities($info_data_description) . "...\n"); print(" " . date("D, d M Y H:i:s", $info_data_pub_date) . " EST\n"); print("\n"); print(" \n"); } print(" \n"); print("\n"); mysql_close($db); ?>