Hey Phylosophy,
It is quite easy, really.
You first need to know how to just retrieve one record from the database, and build a page that does just that. Ideally you retrieve the record based on the ID of the post. (e.g., select FIELD1, FIELD2 from TABLE where IDCOLUM = $IDVALUE)
Then you need to get the ID for the requested post. You can do this by passing the Id in the url, and using the $_GET syntax to get the var on the next page. If you do not know how to do this: http://bio-vision.nl/coding/GET_url.php
I think this should get you started.
You then of course need to create links to the next and previous page. I have a function to get previous & next values based on the current record. Have a look and play:
// Gets the next record in the database, and returns the record with the ID and the next up. If no next exists, it returns the current & the first
require_once(_GET_RECIPE_F_);
function get_next($StartRecord, $table, $identifier, $where='1=1')
{
$outdata = array();
$q = "select ".$identifier." from ".$table." where (".$identifier." > ".$StartRecord.") and (".$where.") order by ".$identifier." asc limit 1";
$grDBH = db_connect();
$res = mysql_query($q) or handle_errors('get.nxt',__LINE__, mysql_error(), $q);
$returndata = array();
if(mysql_num_rows($res) == 0) // The last was reached
{
$q2 = "select ".$identifier." from ".$table." order by ".$identifier." asc limit 1";
$res = mysql_query($q2) or handle_errors('get.nxt',__LINE__, mysql_error(), $q2);
$t = mysql_fetch_array($res);
$returndata = $t[$identifier];
}
else
{
$t = mysql_fetch_array($res);
$returndata = $t[$identifier];
}
return($returndata);
}