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

  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.

  Sends data to best_songs.php on a server

Create a form that sends data to best_songs.php on a server. The form should have a text box for your name and a collection of at least four checkboxes representing kinds of songs (real or imaginary) and a radio button to indicate whether the selecte..

  Define a constructor for class game that takes the initial x

Define a constructor for class Game that takes the initial x and y positions of the player as parameters and creates and initialises the player, dot1, dot2 and dot3 fields.

  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.

  Create a table in your database server

Write a PHP script to create a table in your database server to hold your user data - Create a nicely formatted (based on formatting topics we've covered so far) web page with a form to collect user data

  Write php pages for non-relational database

Based on the mySQL database you developed for assignment (database provided), write PHP pages (based on the procedures shown and examples provided in class) that will do the following

  This problem is pertaining to the html language

CS5334.0251/0252, Spring, 2014 Assignment, Advanced Internet Information Processing subject, This problem is pertaining to the HTML language. You can create your own web page by placing an HTML page in the “public html” directory within your home dir..

  Design database table required to store children information

Design the database tables required to store children and class information. In addition to the attributes, be sure to check the needed foreign keys and primary keys.

  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

  Sample website project

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

  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.

  The average score and all the scores above the average score

print all the scores below the average score and all the scores above the average score in php.

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