if you want to select a unique threadid to be read, try the following
MySQL sentence :
SELECT DISTINCT threadid FROM tablename;
Hope it helps you
Dhaval Desai a écrit :
> Well I have a field in Mysql Database called threadid.
> I have unique threadid's stored in this field. But the
> problem is that I have like 10 entries for each
> threadid. When I do a select statement for Mysql I
> want only unique threadid's to be read.
> How do I do that because I didn't find any function as
> unique() under Mysql.
> Could anybody help me out please.
> Thank You
> Best Regards,
> Dhaval Desai
> MSN Photos is the easiest way to share and print your photos:
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php