Hi,
The root cause of your problem might be that you shouldn't call a column "Date" as it's the name of a MySQL function. Try changing the name to something else and see if that alleviates the problem.
Best wishes,
Simon. http://www.NameAlerts.com
Domain Name Back Ordering &...
If I've understood what you want correctly, it could be as simple as:
SELECT DISTINCT(id_thread) FROM table WHERE id_topic='1' AND type='msg' ORDER_BY date DESC
That may need a little tweaking, but it should be pretty close.
Best wishes,
Simon. http://www.NameAlerts.com
Domain Name Back...
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.