I have two dates from-date & to-date.
I have to compare them from existing  dates shown below, whether any of the day  fall between them or not using php?
i can do for single date checking ,but i am confuse for the two date checking. 
Example: 
i have to check these dates:-> from=15 March 2013  & 15 April 2013  between the following dates  whether any days falls in between these two date or not.   
following data from db table
 #       from date            to-date
-----------------------------------------
1     01 April 2013         30 April 2013   //here we will find as falling
2     01 May 2013           15 May 2013   
3     01 June 2013          20 June 2013
Currently,in my mind not even a single logic is coming to try. Please give me any logic or suggestions regarding this issue..
 
     
     
    