$db="omt";
$link = mysql_connect('localhost', 'omt', 'uppercanada69');
if (! $link)
die("Couldn't connect to MySQL");
mysql_select_db($db , $link)
or die("Couldn't open $db: ".mysql_error());
$result = mysql_query( "SELECT
*
FROM
news
ORDER BY
id
ASC
" )
or die("SELECT Error: ".mysql_error());
$num_rows = mysql_num_rows($result);
?>
We are sorry but there are presently no current News.
|