Ok, thanks 🙂. Another problem: I'm taking data from the db from more than one column:
$Query = "SELECT Author,unix_timestamp(PostDate),Title,Post,ID FROM News ORDER BY PostDate DESC";
$Result = mysql_query($Query, $Connect);
while($row = mysql_fetch_object($Result))
{
$Author = stripslashes($row->Author);
$PostDate = $row->PostDate;
$Title = stripslashes($row->Title);
$Post = stripslashes($row->Post);
$ID = $row->ID;
}
How do I store the timestamp in a variable?