189k views
1 vote
1. Create "Assignment7_1.php" inside of "Module7_1_1" folder.

Use php script tags (<?php .... ?>) like class activities.

Use a user defined variable $myName = "James";

//Instead of James, use your first name. (Only first word.)

Use a user defined variable $myClass = "CIT273";

Use echo keyword to output below: (You should use $myName and $myClass variables inside one pair of Single or Double quotation marks for each line. ) James loves CIT273 $myName love $myClass

2. Submit the internet URL of "Assignment7_1.php".

User Rosalie
by
7.4k points

1 Answer

3 votes

Final answer:

To complete Assignment7_1.php, declare your variables using PHP and utilize the echo statement for output. You'll then need to upload the file to a web server to determine its URL.

Step-by-step explanation:

To create Assignment7_1.php inside the Module7_1_1 folder and write a PHP script, you should declare variables and use the echo keyword for output. Here's an example of the contents of Assignment7_1.php:

Remember to replace "YourFirstName" with your actual first name in the code. Once you have created the PHP file, you'll need to upload it to your web server to be able to submit the internet URL for Assignment7_1.php.

User Bryanph
by
8.4k points