*** gbsite/scripts/project/news/newsfull.php Tue Feb 20 02:21:36 2001 --- newsfull.php Wed Apr 11 13:51:00 2001 *************** *** 20,26 **** if (empty($news_id)) { $context = "There was a problem running this program. Specifically:"; ! $context_error[] = "Now news id was passed to the program."; $web_page = "contextpage"; include($page_template); return; --- 20,26 ---- if (empty($news_id)) { $context = "There was a problem running this program. Specifically:"; ! $context_error[] = "No news id was passed to the program."; $web_page = "contextpage"; include($page_template); return; *************** *** 27,33 **** } ! $query = "select * from project_news where news_id = $news_id"; $res = @pg_exec($conn,$query); $r = 0; --- 27,37 ---- } ! $query = "select a.headline, a.submit_date, a.body, ". ! "b.email, b.member_name ". ! "from project_news a, member b ". ! "where a.member_id = b.member_id ". ! "and a.news_id = $news_id"; $res = @pg_exec($conn,$query); $r = 0;