views:

33

answers:

2

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
Thanks a bunch!
Belgin Fish