Question: PHP Exercise 2-1 1. Create a folder named PHPEx2 on your h drive or on your home computer if you are completing this at home.

 PHP Exercise 2-1 1. Create a folder named PHPEx2 on your

PHP Exercise 2-1 1. Create a folder named PHPEx2 on your h drive or on your home computer if you are completing this at home. Create a new html document in your text editor. 2. Be sure to include all the appropriate html tags for a basic document. Add id comments at the top containing: your name, the date, and the words PHP Exercise 2-1 3. Create a script section in the document body that includes the following code, but replace the conditional expression statement with an if...else statement. Note that the strings are enclosed in single quotation marks so that the name of the variable will be displayed, not the value. 100) ? $Result - '$IntVariable is greater than 100': $Result = "$IntVariable is less than or equal to 100'; Echo "

$Result

"; ?> 4. Save the document as ConditionalScript.php inside the folder PHPEx2. In order to test this you will need to save the document to your development web server in your ClassEx folder

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!