|
If you're getting an "not a valid mysql resource" then it looks like the connection to the DB is bad. A bad query would return another error code.
So i'd say that JCK's response would be fine:
select distinct() from table should work.
__________________
Your post count means nothing.
|