Question: (Common Gateway Interface) Lab Objectives: Demonstrate basic PHP syntax knowledge and basic commenting techniques What are the steps? Extend your HTML bio page with PHP

(Common Gateway Interface)

Lab Objectives:

Demonstrate basic PHP syntax knowledge and basic commenting techniques

What are the steps?

Extend your HTML bio page with PHP and good commenting techniques

Procedure

Take a copy of your static HTML file and create new file with this naming convention [your_name]_lab2.php. (replace [your_name] with your first and last name separated by an underscore character)

Using a PHP editor of your choice (or a plain old text editor if you choose) add in the following documentation information as PHP comments:

Lab 2 [name of this file]

Date Created

Author [your name] Fadi Aliyeh

Define PHP variables for each of these prior submission values

Your Name: Fadi Aliyeh

Your Major: Computer Science

Your preferred method of contact that I should use and corresponding details (email, text, phone, etc)

Your course schedule

Your interests/hobbies

A description of your programming background, experiences, and previous course accomplishments

Use the PHP variables where the hardcoded values were to generate your bio page

Create variables for these specific strings, then display them at the end of your PHP page

My instructor said, Reading ahead is a great way to maximize value from our virtual events.

Bills fantasy football draft is tomorrow.

Using a similar approach as page 27 (script 1.9) incorporate a sentence of concatenated strings to your PHP file that leverages constants to display todays date, PHP version, and your OS in a single displayed sentence.

Procedure

Using multiline comments, record responses to each question in the Review section on page 34 by writing out both the question and the answer

Submission requirements:

Upload your PHP file containing the output of Task 1 and Task 2 to Blackboard.

Need help?

Plan to attend this weeks instructor-led virtual events where well cover this content and related skills.

Preparing for next week:

Read Chapter 2: Programming with PHP to prepare for next weeks lecture and lab

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!