I have the following query
SELECT * from PHOTOS WHERE Subject = '$Subject' AND Location = '$Location' ORDER BY Number
It results in the following output
1, 10, 11, 12, 13, 14, 15, 2, 3, 4, 5, 6, 7, 8, 9
How does PHP/MySql think 10 is lower than 2??
This is driving me nuts, any help would be greatly appreciated.