wangrin Posted January 31, 2014 Share Posted January 31, 2014 (edited) how to write this in php 1) Create two files named “Show_me_post.php” and “Show_me_get.php”. These files should display the data provided by the user as follows: Hello <name>You entered the following text: <display the supplied text> 2) Expand the form to prompt for the user’s age and the current temperature (Celsius). Expand your PHP to receive and store all the values in appropriately named variables and include in your displayed output the user’s age and current temperature. 3) Add a section to display true or false indicating if the user is of drinking age (the current drinking age is 21) and if the temperature is below freezing: You are presently old enough to drink: true Below Freezing: true4Calculate and display the temperature in Fahrenheit (to determine the temperature in Fahrenheit take nine-fifths of the degrees in Celsius then add 32 Edited January 31, 2014 by wangrin Quote Link to comment https://forums.phpfreaks.com/topic/285836-new-in-php-code/ Share on other sites More sharing options...
cyberRobot Posted January 31, 2014 Share Posted January 31, 2014 What have you tried? Are you stuck somewhere? Note that I moved the topic to PHP Coding Help. Quote Link to comment https://forums.phpfreaks.com/topic/285836-new-in-php-code/#findComment-1467258 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.