I'm just wondering how I could display my last 200 mysql entries in php without showing duplicate entries.
+1
A:
How about something like SELECT DISTINCT * FROM table ORDER BY id DESC LIMIT 200
See this example on how to implement it in PHP.
WoLpH
2010-03-12 01:58:26
Thanks a bunch!
Belgin Fish
2010-03-12 01:59:18
A:
Have a look at What’s the most efficient way to select the last n rows in a table without changing the table’s structure? and combine wiht DISTINCT
astander
2010-03-12 01:59:51