Hi there,
How can I get PHP to recognize the difference between 1 and 01?
Basically I a have a script that grabs the ID3 info from a directory of mp3s and writes them to a MySQL database. But when I query the database, ordering the results by track I get something like:
1, 10, 11, 12, 2, 3, 4, 5.....
I've tried telling php to write 1 as 01 when writting to the database using:
if ($mp3details_track=="1") {
$mp3details_track=="01") }
but php doesn't even recognize the difference.
Thanks,
-- Coops