I have a personalized time value in my database which looks like this: 3:35 PM (it never begins with zero), I need to order by time asc, I tried:
SELECT * FROM mytable WHERE(mydate=\"$thedate\") ORDER BY hora+0
I get this:
3:35 PM
3:00 PM
3:12 PM
but I was expected:
3:00 PM
3:12 PM
3:35 PM
any help?
thanks in advance
hora?