[PHP/Mysql] Ascending values...

Joined
Dec 26, 2007
Messages
423
Reaction score
12
Hello everyone, well im creating a database of "southpark" episodes & seasons

and i have made the sql query by ascending so episode 1 comes first then 2 etc.

but when i get to 10 it will be like this:


  • 1
  • 10
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
Is there any way i can fix this?
 
But i don't want it to order by id, query:

Code:
SELECT * FROM spdb WHERE ssd ='1' ORDER BY epd ASC

ssd: Season Number
epd: Episode Number
 
Back