mirror of
https://git.code.sf.net/p/quake/website
synced 2024-11-10 15:22:13 +00:00
php devel is much easier without cvs
This commit is contained in:
parent
333726c232
commit
938a9d1758
1 changed files with 3 additions and 3 deletions
|
@ -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', '<P>No current news!');
|
||||
|
|
Loading…
Reference in a new issue