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

  What are two php development tools

what are two PHP Development tools What is their cost? What platform do they run on? What is their purported 'claim-to-fame'?

  Designing page to count number of page views in php

Design a page to count number of times page is viewed by a user in single session in PHP/SQL.

  An array

Write a simple PHP program that prints the days of the week using three different methods: using plain HTML, using echo statements and using an array. Ensure correct documentation, indentation, var names etc.

  Design a dynamic database

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

  Web programming – server side

Develop a web site that provides customer access to the Northwind database and Provide a way to review existing orders. That is, allow the user to log in to a new session and find orders for her that are already in the database.

  How each of the intrinsic html objects interacts

You are to write two versions of this assignment. One using HTML and VBScript and one using HTML and Javascript.

  Model view controller pattern

PHP Frameworks, class patterns and object patterns, Object Oriented Design Principles, Program to an ‘interface' not to an Implementation, Open Close Principle, Principle of Least Knowledge, creational design prototypes, Dependency Inversion principl..

  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.

  Web application development

Create a simple Web Application that collects gradings under a number of criteria, and then calculates an aggregate mark

  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.

  Design a phishing pages

An assignment to design a Phishing Pages for a popular website "Apple" Phishing pages like this first page:

  Create an online parking system

To create an online PARKING system with php/mysql or any other coding language suitable and dissertation proposal

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