I have created a simple cms and I need to have an archive page that shows ten articles per page, with a "< next | previous >" pagination system or similar.
I have spent a long time away from php, and would dearly love it if somebody could show me how to do it, here is what I have now;
$result = mysql_query("SELECT * FROM news ORDER BY id DESC LIMIT 0,5");
//echo's the articles, and even properly indents the code
while($row = mysql_fetch_array($result))
<p><strong>Posted on:</strong> ".$row['date']."</p>