chibuki
2008-10-31 23:09:21 UTC
I searched online but still confused as how to apply it in my php code. Most people in support forums uses:
SELECT DATE_FORMAT(date,format)
That's where I'm stumped. So where and how do I put that in my code below?
include('connect.php');
$query = "SELECT * FROM CharacterStats ORDER BY ID ASC";
//Run query
$result = mysql_query($query);
if(!$result)
{
die("Could not query the database:
". mysql_error());
}
?>
Some info--
My table: CharacterStats
The date field: DateUpdated