Page for Selecting an Event to Delete or Modify
This page will be the same as the Viewing Page, with the following exceptions:
- You only need to display the date, time, and title of each event in the selected date range
- You need to display a radio button next to each event listing, allowing the user to select it
- Include a pair of radio buttons, allowing the user to indicate whether he wishes to modify or delete the selected event
- If the user wishes to delete an event, you need to remove it from the Event Data file - then return the user to the Calendar Management page.
- If the user wishes to modify an event, send them to the Event Modification Page (described below)
Implementation Suggestion: for keeping track of which event is which, you may want to read each line of your data file into an array. Then you can keep track of which event you're handling since you'll know its position in the array.