mirror of
https://git.code.sf.net/p/quake/website
synced 2025-02-17 17:31:39 +00:00
fix my dumb stupid dumb errors
This commit is contained in:
parent
c0b4caf82b
commit
aefc2ba335
1 changed files with 1 additions and 0 deletions
|
@ -38,6 +38,7 @@ echo '<TABLE width="100%" cellSpacing="0" cellPadding="0" border="0"> <TR vAlign
|
||||||
$query = 'SELECT n_date, n_user, n_news FROM news_main WHERE '.
|
$query = 'SELECT n_date, n_user, n_news FROM news_main WHERE '.
|
||||||
'n_news LIKE ' . $search . ' ORDER BY n_date DESC';
|
'n_news LIKE ' . $search . ' ORDER BY n_date DESC';
|
||||||
$result = @mysql_db_query (sqlDB, $query, $conn);
|
$result = @mysql_db_query (sqlDB, $query, $conn);
|
||||||
|
echo $query;
|
||||||
if ($result) {
|
if ($result) {
|
||||||
$numRows = @mysql_num_rows ($result);
|
$numRows = @mysql_num_rows ($result);
|
||||||
if ($numRows) {
|
if ($numRows) {
|
||||||
|
|
Loading…
Reference in a new issue