Jump to content

MySQL Order By Issue


Zepo.

Recommended Posts

I have a loop thats ordered by the field proiority. It works fine untill the priority gets above 9.

http://www.eliteladders.com/development/ladders.php

As you can see it put it after 1.

$groups=mysql_query("SELECT id,name,logo,active,priority,created FROM groups WHERE active='1' ORDER BY priority");
while(list($gid,$gname,$glogo,$gactive,$gpriority,$gcreated)=mysql_fetch_row($groups)){

Link to comment
https://forums.phpfreaks.com/topic/93946-mysql-order-by-issue/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.