include("dbinfo.inc.php"); $sql="SELECT * FROM news ORDER BY title ASC"; $result = mysql_query($sql); if (!$result) { exit("Error in SQL"); } ?>