kenw Posted March 23, 2009 Share Posted March 23, 2009 I want to allow users to insert a start date and an end date for them to re-query my database. I understand how to do the select statement based on between start date and end date. I don't understand how to get my submit button to re-query the table and only display those dates between the range. I have this in a table: <table width="575px" border="1" align="center" cellpadding="3" cellspacing="0"> <tr> <td class="input_label">Date Range</td> <td> <table> <tr> <td><?php input_date("due_date_begin", ""); ?></td> <td>to</td> <td><?php input_date("due_date_end", ""); ?></td> <td colspan="2" align="center"> <input type="submit" class="button" value="Submit"> </td> </tr> </table> </td> </tr> </table> When I click on the submit button, nothing happens. Any pointers, help is appreciated. Thanks. Ken Link to comment https://forums.phpfreaks.com/topic/150768-date-range/ Share on other sites More sharing options...
Mark Baker Posted March 23, 2009 Share Posted March 23, 2009 Try taking a look at HTML forms Link to comment https://forums.phpfreaks.com/topic/150768-date-range/#findComment-792166 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.