I have a query in a php page that goes something like this:
SELECT * FROM posts WHERE post_time < '$php_var_date' LIMIT 0,1
I'm using this in a blog where I need the previous post's post date. php_var_date is an ISO 8601 formatted date. The post_time is of the data type datetime. While I...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.