How to identify a primary key

Assignment Help PHP Web Programming
Reference no: EM13935343

Please provide the code for the data storage file for the attached poll.

Helpful suggestions are below:

Create the database/Setup database tables

Identify a Primary Key

Store the questions results each time a response is submitted.

Use INSERT statements to populate the table

Issue SELECT SQL statement(s) that request all the possible answers for the poll.

Use a WHILE loop to extract info from the MySQL result set

Use the MySQL function COUNT() to count the number of records in the table

Display the number of votes the chosen answer received.

<form action="$Results" method="post">
<p><span class="style2">What is Your Favorite Color?</span> <select name="Color">
<option>Red</option>
<option>Green</option>
<option>Blue</option>
<option>Other</option>
<option value=" " selected> </option>
</select>
<br>
<span class="style2">What is your Favorite Season?</span>
<select name="Sign">
<option>Winter</option>
<option>Spring</option>
<option>Summer</option>
<option>Autumn</option>
<option value=" " selected> </option>
</select>
<br>
<br>
<span class="style2">Are you:<br>
Male
<input type="checkbox" name="Gender" value="Male">
Female
<input type="checkbox" name="Gender" value="Female">
</span>
<p><span class="style2">Please answer yes or no to the following:</span>
<br><br>
<span class="style3">Are you married? </span><br>
<label>
<input type="radio" name="Status" value="yes">
<span class="style4">YES
</span></label>
<br>
<label>
<input type="radio" name="Status" value="no">
<span class="style4">NO
</span> </label>
</p>
<input type="Submit" value="Submit" name="Submit">
</p>
</form>
</body>
</html>

 

Reference no: EM13935343

Questions Cloud

Basic activities of information systems : What are the 5 competitive forces in the market (illustrate via an example). How would a company use competitive strategies to address specific competitive forces?
What is the cost of ending work in process : What is the cost of ending Work in Process?
Given the following information : Given the following information. Selling price per unit = $ 15, variable cost per unit = $ 4,
How are your cells related to all other humans : One of the important implications of Virchow's statement that all cells come from pre-existing cells is that it relates the Cell Theory with the Theory of Evolution. That is, Virchow's statement is consistent with Darwin's theory. Explain.
How to identify a primary key : Issue SELECT SQL statement(s) that request all the possible answers for the poll.Use the MySQL function COUNT() to count the number of records in the table
Primary legal constraints faced by companies : The Fair Labor Standards (1938) and the Equal Pay Act (1963) which amends it are the primary legal constraints faced by companies in the determination of wages/salaries.
What would want to poloar body at first meiotic division : What would you want to see in the poloar body at the first meiotic division? What would you want to see in the second meitoic division? You must be able to diagram oogenesis and segregation of the genes. Do not give probabilities, only certainy.
The flyandstay ltd system case study : Your software house decided to design and build the system using the object-oriented methodology, to allow for more flexible design/build iterations and re-use of design and code. You have therefore now been asked to produce the analysis and desig..
Determine the denominators to be used in the calculations : Determine the denominators to be used in the calculations of cost per equivalent unit for material and conversion costs.

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