Hi Guys!
How could I select the range between two dates chosen by date picker?
Lets say field 'start' = 2012-08-01 and field 'end' = 2012-08-05
It means there are 5 dates range (from 1st till 5th of August)
And I need to create the DB table records for each of these dates like:
* "Resource" is whatever selected in a form from other fields
How could I select the range between two dates chosen by date picker?
Lets say field 'start' = 2012-08-01 and field 'end' = 2012-08-05
It means there are 5 dates range (from 1st till 5th of August)
And I need to create the DB table records for each of these dates like:
id|Date______|Recource__|
1 |2012-08-01 |1 |
2 |2012-08-02 |3 |
3 |2012-08-03 |1 |
4 |2012-08-04 |2 |
5 |2012-08-05 |4 |
* "Resource" is whatever selected in a form from other fields