I have this code:
$sql = "SELECT * FROM deptcomment WHERE deptPostID ='$postID' ORDER BY deptCommentRegDate ASC, deptCommentRegTime ASC LIMIT 4";
It is working but it only gets the first 4 comments of a particular post. i need this code to get the last 4 comments in ASC order. Is this possible.
Any help appreciated.