include("conn.php"); if (! $link) die("Couldn't connect to MySQL"); mysql_select_db($db , $link) or die("Couldn't open $db: ".mysql_error()); //echo $SQLQuery; $result = mysql_query("SELECT * FROM news order by id desc limit 2") or die("SELECT Error: ".mysql_error()); ?>
|