Hi Leute ich verwende den befehl "ORDER BY" weil ich wie der name schon sagt etwas sotieren möchte.
So hier (Codeschnippel) :
Mein Problem:
Eintrag A = 9 Votes (Platz 1)
Eintrag B = 8 Votes (Platz 2)
Wenn ich bei Eintrag A eine 10 reinmache sieht das ganze so aus:
Eintrag B = 8 Votes (Platz 1)
Eintrag A = 10 Votes (Platz 2)
Live bsp: https://www.picflirt.eu/ranking.php
(Benutzer mydoys hat 22 zähler)
wie kann ich das Problem beheben?
So hier (Codeschnippel) :
PHP:
SELECT * FROM picflirt_fotos ORDER BY votings DESC LIMIT 15
Mein Problem:
Eintrag A = 9 Votes (Platz 1)
Eintrag B = 8 Votes (Platz 2)
Wenn ich bei Eintrag A eine 10 reinmache sieht das ganze so aus:
Eintrag B = 8 Votes (Platz 1)
Eintrag A = 10 Votes (Platz 2)
Live bsp: https://www.picflirt.eu/ranking.php
(Benutzer mydoys hat 22 zähler)
wie kann ich das Problem beheben?