date1 = 10/1/2015
date2 = 10/13/2015`
How to fetch data from database using these two dates? I want to fetch all the data that was entered from 1 to 13 october. How can I do it using php or SQL? Please guide me to write the SQL queries.
Database design
id name date
1 Ram 10/1/2015
2 shyam 10/2/2015
3 hari 10/13/2015
4 gita 10/14/2015</pre>
I want to select and show first 3 id which are listed between 1st oct to 13th oct and don't want to show 14th oct value. Please help me. Looking forward for the help. Thank you in advance. :)
betweencomparison using the right formats