Question: File: modify3.php Purpose:Chapter 6 Exercise REQUIREMENT: Write a Web-based application consisting of a Web form (modify3.html) and a PHP program (modify3.php). modify3.html includes a form

File: modify3.php Purpose:Chapter 6 Exercise

REQUIREMENT: Write a Web-based application consisting of a Web form (modify3.html) and a PHP program (modify3.php).

modify3.html includes a form that consists only of a Submit button When the button is pressed, modify3.php runs and opens the file tickets.txt which contains a list of three ticket orders. The program reads the ticket order on the first line, multiplies this by 6.50 (the price of each ticket) to get the cost of the sale, and displays the cost of the sale.

Modify modify3.php so that it reads and displays all three ticket orders and displays the cost of each sale AND also the total sales.

-->

Modify3

Modify3

$ticketSale1 = $ticketOrder1 * 6.50;

print("

TICKET SALE 1: $$ticketSale1

");

?>

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!