0

I just realized that my namings sound so wrong in English. sex_candidati reffers to the gender of the candidates, I'm not making anything naughty here :D

Edited by seularts

1

How are your ordering this? $p1/$p2 (whetever that is) or none at all? You can put

 ORDER BY 1

inside the GROUP_CONCAT:

GROUP_CONCAT(DISTINCT(lb.limba) ORDER BY 1 SEPARATOR ', ')

Do check if you actually need the distinct in every case.

0

Sweet that did the trick ^_^ . $p1 and $p2 are to ordering filters I set for various nefarious purposes :D Thanks a bunch, my lil' data base is starting to get an awesome shape!

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.