diff --git a/see_plans.php b/see_plans.php index a86c93c..f0e5667 100644 --- a/see_plans.php +++ b/see_plans.php @@ -3,15 +3,15 @@ $conn = @mysql_pconnect (sqlHost, sqlUser, sqlPass); if ($conn) { - $query = 'SELECT p_date, p_user, p_news FROM devel_plans' . + $query = 'SELECT p_date, p_user, p_plan FROM devel_plans' . ' ORDER BY p_date DESC'; $result = @mysql_db_query (sqlDB, $query, $conn); if ($result) { $numRows = @mysql_num_rows ($result); if ($numRows) { for ($i = 0 ; $i < $numRows ; $i++) { - list ($p_date, $p_user, $p_news) = mysql_fetch_row ($result); - newsItem (dateFromSQLDateTime ($p_date), $p_user, StripSlashes($p_news)); + list ($p_date, $p_user, $p_plan) = mysql_fetch_row ($result); + newsItem (dateFromSQLDateTime ($p_date), $p_user, StripSlashes($p_plan)); } } else { newsItem ('now', 'Web Server', '
No current news!');