Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PHP >> Instructions PART 1 Create an HTML page named stringer.html that displays a form with two textboxes as shown. Invite the user to enter

PHP >>

Instructions

PART 1

Create an HTML page named stringer.html that displays a form with two textboxes as shown. Invite the user to enter his/her name and a favorite saying or quotation. The form posts its data to stringer.php.

image text in transcribed

The PHP file called stringer.php that manipulates the saying and generates the output shown below:

  • Display the character count and word count.
  • Change the case of characters as shown in the second section.
  • Replace all vowels with stars (regular expression required).
  • Split the saying into an array and display each word on a line.

Output of stringer.php

image text in transcribed

PART 2

Create a PHP page for handling a simple interest loan. The current date and time should be displayed at the top of the page. Use a form with four inputs for the loan:

  • the start date
  • the due date
  • the annual interest rate as a %
  • the principal amount borrowed

Be sure to enter the day, month and year for both dates. When the form is submitted, the application should display:

  • the loan start date
  • the loan due date
  • the annual rate of simple interest as a %
  • the principal amount of the loan in currency format
  • the simple interest due in currency format
  • the amount required to repay the loan (principal + interest) in currency format

NOTE: both dates should be displayed in the format month name, day of month, and year as in June 21, 2018 or November 7, 2017. The formula for determining the simple interest due on a loan is I = Prt, where I = Simple Interest, P = Principal, r = Annual Interest Rate (as a decimal), and t = time in years. You can learn all about simple interest on the Internet if necessary.

Name Rasmus Favorite Saying or Quotation Luck is what happens when opportunity meets preparation Process Form The favorite saying of Rasmus is.... Luck is what happens when opportunity meets preparation That saying consists of 55 characters and 8 words As a heading or title it looks like this.... Luck Is What Happens When Opportunity Meets Preparation Or maybe it looks like this... LUCK IS WHAT HAPPENS WHEN OPPORTUNITY MEETS PREPARATION With the vowels replaced by stars, it looks like this... L*ck *s wh*t h*pp*ns wh*n *pp*rt*n*ty m**ts pr*p Here are the individual words... Luck is what happens when opportunity meets preparation

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Information Modeling And Relational Databases

Authors: Terry Halpin, Tony Morgan

2nd Edition

0123735688, 978-0123735683

More Books

Students also viewed these Databases questions

Question

How can virtual teams work well together from far apart?

Answered: 1 week ago

Question

im 8 a h i=0 1 n + 3. n 4

Answered: 1 week ago

Question

Describe Table Structures in RDMSs.

Answered: 1 week ago