PHP Export Date range
- by menormedia
I have a working database export to xls but I need it to export a particular date range based on the 'closed' date. (See code below).
For example, I'd like it to export all 'closed' dates for last month and/or this month (Range: Sept 1, 2012 to Sept 30, 2012 or Oct 1, 2012 to Oct 31, 2012)
<?PHP
//EDIT YOUR MySQL Connection Info:…