mirror of
https://git.code.sf.net/p/quake/website
synced 2024-11-24 05:01:23 +00:00
hmm. debugging info.
This commit is contained in:
parent
858008ab0f
commit
f68c026b1a
2 changed files with 3 additions and 3 deletions
|
@ -170,7 +170,7 @@
|
|||
if ($conn) {
|
||||
$query = 'SELECT n_date, n_user, n_news FROM news_main' .
|
||||
' ORDER BY n_date DESC';
|
||||
$result = @mysql_db_query (sqlDB, $query, $conn);
|
||||
$result = mysql_db_query (sqlDB, $query, $conn);
|
||||
if ($result) {
|
||||
$numRows = @mysql_num_rows ($result);
|
||||
if ($numRows) {
|
||||
|
@ -209,7 +209,7 @@
|
|||
$date = sprintf ("%04d-%02d", $year, $month);
|
||||
|
||||
if (sqlAvail) {
|
||||
$conn = @mysql_pconnect (sqlHost, sqlUser, sqlPass);
|
||||
$conn = mysql_pconnect (sqlHost, sqlUser, sqlPass);
|
||||
if ($conn) {
|
||||
$query = 'SELECT n_date, n_user, n_news FROM news_main' .
|
||||
" WHERE n_date BETWEEN '$date-00 00:00:00'" .
|
||||
|
|
Loading…
Reference in a new issue