mysql statement not return correct result -
i have mysql row 'date = 2013-05-02, type = 1' etc.
then run query
select date, type, status, rate reservation type = 1 , date between 2013-05-01 , 2013-05-08 order date asc limit 0, 10
but returns empty results. query issue here?
put dates in quotes '
in mysql query.
select date, type, status, rate reservation type = 1 , date between '2013-05-01' , '2013-05-08' order date asc limit 0, 10 ;
Comments
Post a Comment