fix my dumb stupid dumb errors

This commit is contained in:
Dan Olson 2000-06-13 03:08:12 +00:00
parent c0b4caf82b
commit aefc2ba335

View file

@ -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 '.
'n_news LIKE ' . $search . ' ORDER BY n_date DESC';
$result = @mysql_db_query (sqlDB, $query, $conn);
echo $query;
if ($result) {
$numRows = @mysql_num_rows ($result);
if ($numRows) {