Write a php script to create a table in your database server

Assignment Help PHP Web Programming
Reference no: EM13331378

PHP Project

For this project you will use HTML, forms, PHP, and MySQL to collect data from users, store that data in a MySQL database table, retrieve and display the data from the table, make changes to the data in the table, and delete records from the table. The subject or "theme" of your web site and table will be up to you - a web site with a coherent theme where you collect data from users. I expect the web pages to include some formatting - the details are included below.

You can use other homework assignments, notes, and online resources to help you write your program. Project must be your own and unique (e.g., shouldn't only vary by data names).

Project Outline

Your project will include files and scripts to do the following:

Create Table: Write a PHP script to create a table in your database server to hold your user data.

Data Input :

•Create a nicely formatted (based on formatting topics we've covered so far) web page with a form to collect user data. Include at least one image on the page, a different background color, and a table to structure form elements. The form should use the POST method to send data to a PHP script. You should collect at least 5 pieces of data from the user.

•Write the PHP script called in the previous step to add the data to the data table.

Data Retrieval and Display :

•Modify the Data Input page from above to include only one text box in the form - to input the id of a record the user would like to retrieve.

On submit, the form should call a PHP script to retrieve and display the record.

•Write the PHP script called in the previous step to display the data for that record. Format the data nicely.

Data Edit :

•Create a page and scripts to modify a data record. Use the web page from the Data Retrieval and Display section to first retrieve and display the data. Then include a form with a Submit button (label it Update) that calls a PHP script to update the record from the table.

Data Delete :

•Create a page and scripts to delete a data record. Use the web page from the Data Retrieval and Display section to first retrieve and display the data. Then include a form with a Submit button (label it Delete) that calls a PHP script to delete the record from the table.

Bonus:

•Write a PHP script to retrieve and output ALL the data from the database. See Slide 7 of the PHP - Databases PowerPoint as reference.

Format the data as nicely as possible.

Submit a .zip file containing all of your files for the assignment.

Reference no: EM13331378

Questions Cloud

How much charge flows through the film : In an integrated circuit, the current density in a 3.0??m?thick× 80 ??m?wide gold film is 7.9×105A/m2. How much charge flows through the film in 15 min
How many years the system last if a return : An expenditure of $20000 is made to modifya material handling system.this modification will result 1st year saving of $2000,2nd year saving $4000 and a saving of $5000 per year thereafter.How many years the system last if a 18% return on investment i..
Do you think the first es implementation at cquwas a success : Do you think the first ES implementation at CQU was a success? Why/Why not?
State the henderson-hasselbalch equation to calculate the ph : Use the Henderson-Hasselbalch equation to calculate the pH of each solution: a solution that is 0.140 in propanoic acid and 0.125 in potassium propanoate.
Write a php script to create a table in your database server : Create a page and scripts to delete a data record. Use the web page from the Data Retrieval and Display section to first retrieve and display the data. Then include a form with a Submit button (label it Delete) that calls a PHP script to delete th..
What is the index of refraction of the plastic : The electric field component of a sinusoidal electromagnetic wave traveling through a plastic cylinder is given by the equation E = (5.35(V/m))cos[(1.39x10^7 (rad/m))x-(3.02x10^15(rad/s))t]
Explain what are the organic products in the reaction : what is/are the organic product(s) in the reaction below. draw a stepwise, detailed mechanism for the following reaction. a.) CH3C=C-CH3 + Br2
How does this relate to the business operations : How does this relate to the business operations and how critical is it to the organisations WHS?
What is the electron drift speed : 1.00 ×1020electrons flow through a cross section of a 3.90?mm?diameter iron wire in 4.50s . The electron density of iron is n =8.5×1028m?3

Reviews

Write a Review

PHP Web Programming Questions & Answers

  Random integral numbers based on normal distribution

Prepare a system to generate random integral numbers based on normal distribution. Study Data Generator's structure and extend number generation type to activate normal distribution.

  Shopping cart program for web applications class

Shopping Cart program for web applications class. Allows user to browse while keeping track of the items in which they will purchase at the end on the order page link and this will give a final price for all items.

  Create a web site for an apple farm

Create a web site for an apple farm. Create an HTML5 form allowing visitors to create an account with the site. Account details are to be stored in your MySQL database. Information should be stored in a secure way.

  Develop a dynamic website open university

Develop a dynamic website Open University

  Sample website project

This website consists of three sections: a narrative, a storyboard, and a business Website.

  Online banking application

Designing and developing a web applications The company you are working has secured a contract with a local banking group to develop an ONLINE BANKING APPLICATION using PHP and MySQL.

  Design a dynamic database

Design a dynamic database using Mangodb, html , and php.

  Show the accessibility and usability of website

The webpage must have several menus about country Azerbaijan such as "About Azerbaijan" "History" "Geography" "Landscape" and "Accessibility" menu.

  Implement a web application

Implement a web application called CS320Starter, which is similar to the crowd funding platform Kickstarter where people raise funds for their projects.

  Prepare an ajax enabled web form

Prepare an AJAX enabled web form utilising a ListView control that will allow logged-in staff to list, edit, delete, insert magazine details for magazines from a selected magazine category.

  Create a very simple order system as a web application

Create a very simple Order System as a web application.

  Which of the following jsp expressions is valid

A JSP expression can contain any Java expression that evaluates to a String object, Java object, primitive type, primitive type or Java object

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd