Question: This is PHP 1. Create two PHP files. The first PHP file should have HTML that defines a form where you have two fields where
This is PHP
1. Create two PHP files. The first PHP file should have HTML that defines a form where you have two fields where you can enter a price and a discount percentage. The form should have attributes for action that references a second PHP file that will calculate a discount. The second attribute should define the post" method that should be used to get the data entered using the form. 2. The second PHP file should retrieve the data entered via the form and calculate the discount using PHP. The second file should include HTML code that displays the calculated discount
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
