Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask PHP Expert

Lab -Intro to PHP

Below I basically copied and past pages 13 - 15 in this lab but attached the lab as well.

Am using a Virtual Machine (VM) on my Windows computer with the Linux operating system called Ubuntu.

Lab submission details:

As part of the submission for this Lab, you will create your own Web page that uses both HTML and PHP to create several different tables providing specific information. You will get a chance to use most of the concepts you studied so far in this course as you will apply both HTML and PHP code to this exercise.

Specifically, you will create a Web application that provides 3 different tables. Each table will consist of at least 2 rows and 2 columns. You may need to add more cells depending upon how you subdivide your display.

The first table should include the results of using PHP to calculate the area and circumference of a circle, the area and perimeter of a rectangle, the area and perimeter of a right triangle and the area and perimeter of a square. The values used for dimensions are as follows:

Circle - radius = 2.65 meters
Rectangle - length = 4.2 meters; width = 5.6 meters
Right Triangle - base = 10.2 meters; height = 5.4 meters
Square - length = 5.3 meters

Screen Shot visual at http://prntscr.com/ce7t97

The geometric shape table should include an image of each shape along with the calculated values. Note, you must use PHP and formulas to calculate the results in the application. No hard-coding of results is allowed. The following is a reasonable representation of the first table:

Check this screen shot out at http://prntscr.com/ce7tg6

Hint: Use an existing image on the web or create our own. Scaling of images to recommended size is not needed.

The second table should include a famous quote (or quote that you like) and three slightly modified versions of that quote. You should use existing PHP functionality to modify the quote. The modifications are described below:

Original - Original quote as is

Replace "we" with "me" - Replace all occurrences of we with me (Note: you can choose a string of your choice instead of using we and me.)
The location of all letters that are equal to ‘t' - Find and display the location of all t's in your string quote.
All Upper Case - Display all characters in upper case.

Screen shot of it is at http://prntscr.com/ce7u4d

Example of reasonable representation of the second table screen shot is at:

http://prntscr.com/ce7uif
http://prntscr.com/ce7uuz
http://prntscr.com/ce7v13

Note: the ... in the Location of t's cells is present only to demonstrate there are more t's in the quote. In your example, you should list all positions.

For the third and final table, you need to use PHP loops to display the following 4 patterns in each of the table cells:

See it at sreen shot http://prntscr.com/ce7vcy

Feel free to add additional HTML and PHP elements to enhance your web application. Create screen shots showing the successful running of your application.

For your deliverables, you should submit a zip file containing your word document (or PDF file) with screen shots of the application running successfully along with your PHP web application file.

Include your full name, class number and section and date in the document. This document you can use and already is formatted called "williamclementsSDEV300Lab4" attached and submit with everything else.

Attachment:- Lab_Intro_To_PHP.pdf

PHP , Programming

  • Category:- PHP
  • Reference No.:- M91951349

Have any Question?


Related Questions in PHP

Final project assignment -requirements specifications -1

FINAL PROJECT ASSIGNMENT - REQUIREMENTS / SPECIFICATIONS - 1. For the final project, you will have to make good use of your CMS using PHP and MySQL for the content delivery. You will have to be able to deliver the conten ...

Question develop a 5-6 page word document that describes

Question: Develop a 5-6 page Word document that describes the design for a small Web site that meets the following specifications. 1. The Web site includes four or more Web pages designed according to current usability g ...

Question continue to build on the skills of providing web

Question: Continue to build on the skills of providing Web page content and structure with HTML and Web page style and layout using CSS. Demonstrate the skill of creating a dynamic Web page that includes JavaScript clien ...

In php write a simple addtion calculator that reads in two

In PHP write a simple addtion calculator that reads in two values and then add them together and display the output. Be sure to validate both inputs and ensure that it can add 0+0 = Sum: 0. The user should be able to inp ...

Question using the course software and week one template as

Question: Using the course software and Week One Template as a starting point, create a new HTML webpage and include the following: • Write the code to display your name in the largest-size heading element. • Write the m ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As