Thank you, I really appreciate your help, but you could be a little more nicer and forgiving to those trying to learn this. I saw that page already, It doesn't tell me how to get 1109305794 from the DB though. That's great if I wanted to manually enter 1109305794 and show the coverted time. What I need to find is how to incorporate the date function with what is stored in the DB. I know how to output the 1109305794 in a results query. Just don't know how to incorporate the php function above in the query. I have played around with it, just not sure what I am doing and I have search MySQL references for something but with no luck. Maybe I am just overlooking it or something or don't know what to actually look for.
The one problem I am having when inserting the topic_time is it then seems to not show the correct posts. for example this is the correct output
http://www.texascampingforum.com/2006/recent.php
But when I add the topic_time to the query as shown in the code below.
<?
include("dbinfo.inc.php");
mysql_connect(localhost,$username,$password);
@mysql_select_db($database) or die( "Unable to select database");
$query="SELECT * FROM phpbb_topics ORDER BY topic_last_post_id, topic_time DESC LIMIT 5";
$result=mysql_query($query);
$num=mysql_numrows($result);
mysql_close();
$i=0;
while ($i < 5) {
$row = mysql_fetch_array($result);
$topic_id = $row["topic_id"];
$topic_title = $row["topic_title"];
$topic_time = $row["topic_time"];
?>
<font face="Arial Narrow" size="2"><?echo "<a href='http://www.texascampingforum.com/forum/viewtopic.php?t=".$topic_id."'>$topic_title</a>$topic_time<br>";?></font>
<?
$i++;
}
?>
It comes out like this:
http://www.texascampingforum.com/2006/date.php
I remove topic_time from the script and it outputs the recent topics. Another weird thing is that the feild for the table is actually called post_time and not topic_time. But it returns errors and won't work when I use post_time instead of topic_time. If anyone could offer some insite or suggestions on this that would be great cause it has me scratching my head.
-Thanks.