Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Answer in PHP please.On the administration login from the home page, The login functionality is for the event coordinator to set up the event and

Answer in PHP please.On the administration login from the home page,
The login functionality is for the event coordinator to set up the event and manage the cash and check payments.
Create a Administration table in your database and add a row for the first and last name of the administrator, their ID, and their password
On the login check for ID and password via a SQL call to the this table.
If found open the an Administrative page that will allow the administrator to (via navigational links):
Add an event
Open a page that will add an event to the database. Collect the year on the page.
Manage Event Golfers
On this page, ask for the event and show in a grid all gofers for that event
Display the total pledged and the total collected (i.e. payment status PAID) for each golfer. Also show a EVENT TOTAL on the page that shows total pledged and total collected.
Allow the admin to click on the each golfer to show a list of all donors, their donation for that event, and payment status.
Make the actual payment status a link. Upon clicking, go to a page where the admin can change the payment status from Unpaid to Paid -or- Paid to Unpaid.
Modify the Golfer Registration page to:
Ensure that every golfer that is registered is connected to the current event. Use the most current event and insert a record into the EventGolfer table to establish that the golfer is playing the current event.
Modify the Golfer Page:
To allow for them to edit their profile. Meaning, add a link by each golfer called "edit"...when clicked it should go to a page which all fields are populated with their current information. Allow for modifications to anything. When the submit button is clicked process the page to update the golfer information. Note: on the "edit" link, you will need a querystring that will pass the golfer's primary key. You will use that key to call the database and populate all fields in the form and then use it to update the row in the table.
Create the page to allow for donations to a specific golfer. The page should collect:
All of the demographic information about the donor
A list (combo box) of the golfers that are playing and who they are playing for that the donor can choose. They can only choose one. ... once again, populated by the database. example: Bob Nields
An area to input their donation.
How they are going to pay (cash, check, credit card). All cash and checks will initially have a payment status of UNPAID. Credit Cards will be PAID.
Once the donation has been accepted, thank them on another page. The latest donation should be reflected on the homepage in the event total and the last person who donated.
Create a Golfer Statistics page. On this page:
DIsplay the currnet total amount of all pledges for the event
Display the total number of donations for the event
Display the average donation for the event
Display a grid of the golfers with the total pledges (list the golfers from highest to lowest total donations).
On the above grid, have a column that states Donors...that when click, displays all of the donors (first name, last name, donation) for that golfer.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

MySQL Crash Course A Hands On Introduction To Database Development

Authors: Rick Silva

1st Edition

1718503008, 978-1718503007

More Books

Students also viewed these Databases questions

Question

10. Describe the relationship between communication and power.

Answered: 1 week ago