ZibingsCoder, excuse my stupidity but,
I did what you said as far as I can see, in my table (changed name to releases) I created a field called "Date_field".
I then updated the insert code to this:
if ((isset($HTTP_POST_VARS["MM_insert"])) && ($HTTP_POST_VARS["MM_insert"] == "releases_frm")) {
$insertSQL = sprintf("INSERT INTO releases (Artist, Title, Description, ReleaseUser, Date_field) VALUES (%s, %s, %s, %s, '".time()."')",
GetSQLValueString($HTTP_POST_VARS['releasesArtist'], "text"),
GetSQLValueString($HTTP_POST_VARS['releasesTitle'], "text"),
GetSQLValueString($HTTP_POST_VARS['releasesDesc'], "text"),
GetSQLValueString($HTTP_POST_VARS['releasesUser'], "text"));
I checked "Date_field" in the db and I get value like this:
1093426201
I then went to by releases page to update the SELECT code:
<?php require_once('Connections/xxxxdb.php'); ?>
<?php
mysql_select_db($database_xxxxdb, $xxxxdb);
$query_releases = "SELECT * FROM releases ORDER BY 'Date_field' DESC LIMIT 0,5";
$releases = mysql_query($query_releases, $xxxxdb) or die(mysql_error());
$row_releases = mysql_fetch_assoc($releases);
$totalRows_releases = mysql_num_rows($releases);
?>
Do I need to create more of these recordsets to display 5 recent posts? Is there anything else I should be doing?