vendredi 11 septembre 2015

MYSQLI Logical ordering when using ORDER BY

How do I get order by to logically order the buyers numbers?

The query:

SELECT * FROM $auction_id ORDER BY buyer_num

Results:

> 1 2 23 3 32 4 5 6 62 7 8 9 10

What I need the results to output:

> 1 2 3 4 5 6 7 8 9 10 23 32 62



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire