Quote
07-02-2013 18:11:00
27-01-2013 16:02:44
28-01-2013 10:30:26
30-01-2013 13:30:06
27-01-2013 16:02:44
28-01-2013 10:30:26
30-01-2013 13:30:06
I would like to convert them to Unix timestamp while running an PDO SQL query.
This is what I've done so far, but it seems to return an error. How should I go about doing it?
$sql = "SELECT * from pm_msg ORDER BY (strtotime(time)) ASC;";

New Topic/Question
Reply



MultiQuote




|