Question

Create a PHP language that contains a form with you favorite place to buy clothes ....

Create a PHP language that contains a form with you favorite place to buy clothes . Also calculate your before and after tax of those items .
0 0
Add a comment Improve this question Transcribed image text
Answer #1

<html>
<head>
<title>Tax on clothes</title>
</head>
<body>
<form method="post">
<input type="text" name="place" />
<input type="submit" name="submit" value="Favaorite pace">
</form>
<?php
if(isset($_POST['submit']))
{
$place = $_POST['place'];
echo "Favourite place is : ".$place;
}


function find_Tax($orgiginal_price, $Net_price)
{

return ((($Net_price - $orgiginal_price) *
100) / $orgiginal_price);
}
  
  
$orgiginal_price = 500;
$Net_price = 620;
echo("GST = ");
echo(find_Tax($orgiginal_price, $Net_price));
echo(" % ");

?>
</body>
</html>

Add a comment
Know the answer?
Add Answer to:
Create a PHP language that contains a form with you favorite place to buy clothes ....
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Write a program using the PHP application that will create a form for your favorite store....

    Write a program using the PHP application that will create a form for your favorite store. The form should include fields for contact information and at least three(3) items to order from. It should calculate the order and display a subtotal before tax and a total after tax. Also add background color and pictures

  • This is about PHP. Create a form that contains a select menu or series of check boxes that allow for multiple sections....

    This is about PHP. Create a form that contains a select menu or series of check boxes that allow for multiple sections. Then, in the handling PHP script, display the selected items along with a count of how many the user selected.

  • Create web pages for your database using PHP. You should have one page that will return...

    Create web pages for your database using PHP. You should have one page that will return all the information from the database. You should create additional pages that will allow you to do various queries of your database. You should be able to retrieve and insert data; also include functionality to delete data from your database. Create an html form that will allow you to enter in new information for the database. The information should be handled by a PHP...

  • PHP you need to create a form to allow the user to enter their name, email,...

    PHP you need to create a form to allow the user to enter their name, email, and address information. That information will be sent to a PHP script that will process and display that information. Your assignment should have two pages. The first page is straight html (user_input.html) that has a form with the appropriate form elements to collect the user input. The form should then be submitted using the POST method to a php script (display_user_info.php) that will process...

  • Please use Java and only Java. You have been hired by your favorite restaurant to create...

    Please use Java and only Java. You have been hired by your favorite restaurant to create a food nutrition app for their customers to use. Before you get too far, the owner wants you to create a quick prototype. Your app should output a food name and the number of calories, then ask the customer how many they want. You need to ask them for 3 menu items. Once they tell you the quantity for the three menu items, you...

  • PHP Program Complete PHP code (and HTML Code) Using functions to abstract the logic away from...

    PHP Program Complete PHP code (and HTML Code) Using functions to abstract the logic away from the rest of your code makes it easier to read and maintain. PHP provides a number of useful functions as standard, and this week you will use some of these functions to obtain information. Create a program that compares two strings provided on an HTML form, and determine if the two strings are anagrams. The HTML page asks the user for the input strings,...

  • a company. needs you to create an HTML5 page that contains a form with the following...

    a company. needs you to create an HTML5 page that contains a form with the following requirements: Appropriate input types and labels for: Full name Email Address Website Check box fields to determine their level of “Epicness” (include a heading that precedes the checkboxes that says “Check boxes that apply to your items:”) Pretty common Emerald Holiday Blue Barney Purple A Submit button (the form doesn’t have to include a valid action attribute) Styles Create an external CSS file with...

  • Using MySQL and PHP keep it simple This assignment you will be making a form that...

    Using MySQL and PHP keep it simple This assignment you will be making a form that will do one of three things in a database -          It will add a record -          It will update a record -          It will search for a record Your database will contain a table for keeping a record of all your friends and family and should contain: First name Last name Phone number Address City State Zip Birthdate Username Password The sex of the...

  • C#: Create a file that contains your favorite movie quote. Use a text editor such as...

    C#: Create a file that contains your favorite movie quote. Use a text editor such as Notepad and save the file as Quote.txt. Copy the file contents and paste them into a word-processing program such as Word. Save the file as Quote.doc. Write console application that displays the sizes of the two files as well as the ratio of their sizes to each other. To discover a file's size, you can create a System.IO.FileInfo object using a statement such as...

  • Create a program that will ask for the name, age, address, and favorite food of the...

    Create a program that will ask for the name, age, address, and favorite food of the user. After which, create a calculator with ADD, SUB, MULTI, and DIV. Then the program will display all the user have inputted in bash program ACTIVITY 4: Create a program that will ask for the name, age, address, and favorite food of the user. After which create a calculator with ADD, SUB, MULTI, and DIV. Then the program will display all the user have...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT