As part of a news system I am constructing, each post will have a timestamp. It is entered into my database in the following format: 2009-07-02 14:13:41
To display this on a page I am using this code:
Code: Select all
<?php echo $row->timestamp; ?>Thanks for any help.