On Sun, 11 Mar 2001 09:41:24 GMT, tj@dev.null (Thomas Jensen - pil.dk)
wrote:
>On Sun, 11 Mar 2001 10:42:24 +0100, Ghashûl <look@my-sig.ghashul.dk>
>wrote:
>
>
>>I need a unique artist field, and it's ID.
>>
>>"select DISTINCT artist,id from Cover where artist like '$sort%' order
>>by artist" doesn't work. It just doesn't return anything to my PHP
>>site.
>>
>>"select DISTINCT artist from Cover where artist like '$sort%' order by
>>artist" This works, but I need the ID field...
>>
>>Anyone got a clue as to what's up?
>
>supplér evt. gerne m. en "desc Cover"... dvs. hvad hedder felterne i
>din tabel?
Cover indeholder:
id,album,cover,artist,buylink,rc,rcurl,style,website.
Men det er kun artist og id jeg skal bruge i det her tilfælde.
--
Regards Sir Ghashûl, Knight of The alt.Roundtable <><
ICQ: 7two23six29
E-mail: stefan at bruhn dot to
URL:
http://ghashul.dk