I would like to select a row from the database based on two input text and named date_start and date_end where this 2 inputs are in the range of two fields of a row named db_start and db_end.
the 2 input must be exactly in a range of db_start and db_date.
can someone show me how to do it ?
input :
date_start : 2012-12-02
date_end : 2012-12-19
database (1 row)
db_start : 2012-01-01
db_end : 2012-12-12
Is this what you want?