I am working on a user database for a Clan. I am really inexperienced with PHP and MySQL. The database selects users from a MySQL Table. The users have a nickname and a user_status.
The first version I wrote ordered the Users as followed:
$sql = $sql . " ORDER BY user_status, nickname ASC";
So now the clan Leaders wish that the active Members show up first on that list. The Problem with that is that there are user_status such as "abgelehnt" wich means user refused in German.
And thats where the Trouble starts. abgelehnt shows up higher than aktiv.
I am really thankful for any suggestions.