I guess that wasn't it

This commit is contained in:
Dan Olson 2000-06-16 05:34:41 +00:00
parent ca92b8bcb4
commit 2d360e1b90

View file

@ -7,6 +7,7 @@
$query = 'SELECT n_date, n_user, n_news FROM news_main WHERE '.
'n_news LIKE ' . $searchString . ' ORDER BY n_date DESC';
$result = @mysql_db_query (sqlDB, $query, $conn);
echo $query;
if ($result) {
$numRows = @mysql_num_rows ($result);
if ($numRows) {
@ -21,7 +22,7 @@
tableBoxFooter();
echo '</TD></TR></TABLE>';
} else {
echo '<P>No news found matching "' . $string . '"\n';
echo '<P>No news found matching "' . $string . '"';
}
} else {
echo '<P>No news found matching "' . $string . '"\n';