PHP form capture - simple form to mysql database with admin interface
No external libraries or frameworks should be used in this programming ( only extensions available directly within a standard php installation ie. mysql, mysqli, etc ).
Report back to us should include the php source code, the amount of time spent on this task, and any lookups/help searches performed.
Please record all phrases for searches performed along with any urls of pages used for reference or help ( from search or otherwise ).
Ideally, no searches or external help would be needed, creating the code by hand from memory instead.
This task should not require much time, feel free to stop at any point and report back. We do not want this task to encroach on your time.
Task details:
Build a form and collect the data from that form into a simple mysql database.
Form could be very simple and use fields such as: first name, last name, phone, email
The form should submit the data into the mysql table and then display a success message to the user.
Then build a simple admin page to display the collected information from the mysql table.
The admin page should require a password in order to see the collected information ( correct password can be stored and validated directly from the php file ).