hi,
--> select * from tblKanton order by kurz (->und dann soll es alle mit kurz ='BE' zuerst selektieren...)
Btw.: http://www.php-faq.de/q/q-sql-select.html
Ich möchte einfach das diejenigen mit BE zuerst im Resultset sind und alle anderen danach..
SELECT *, IF(kurz='BE', 1, 0) AS sorthelp
FROM tabelle
ORDER BY sorthelp DESC, kurz
gruß,
wahsaga
--
/voodoo.css:
#GeorgeWBush { position:absolute; bottom:-6ft; }
/voodoo.css:
#GeorgeWBush { position:absolute; bottom:-6ft; }