|
When I run the query right in phpmyadmin/mysql, it now returns the timestamp. But now I cannot get it to work in the script.
$replied = $site->db->query("SELECT MAX(`timestamp`) FROM support_replies WHERE type = 'ticket' and parent = '16'");
In the line above, we use ( $site->db-> ) for all queries and such.
|