robert_gsfame Posted June 11, 2010 Share Posted June 11, 2010 I have this query SELECT * FROM table1 WHERE date BETWEEN '2010-05-05' AND '2009-05-05' but i dont get any result ???which part needs to be modified thx Quote Link to comment https://forums.phpfreaks.com/topic/204464-between/ Share on other sites More sharing options...
PFMaBiSmAd Posted June 11, 2010 Share Posted June 11, 2010 expr BETWEEN min AND max If expr is greater than or equal to min and expr is less than or equal to max, BETWEEN returns 1. Quote Link to comment https://forums.phpfreaks.com/topic/204464-between/#findComment-1070687 Share on other sites More sharing options...
robert_gsfame Posted June 11, 2010 Author Share Posted June 11, 2010 :D thx! Quote Link to comment https://forums.phpfreaks.com/topic/204464-between/#findComment-1070688 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.