How do I print the results
I am using the following code, how do I print the results of the query on the page.
$db = mysql_connect("localhost", "user", "pass");
mysql_select_db("mysql",$db);
$sql = "SELECT headline, text, link from news";
$result = mysql_query($sql);
Also, I would like to limit the number of records, as well as have a next/previous ink, can someone please show me what to do.
Thanks
Tim