Write the source code of a “self-calling/self-processing” PHP page. This page should ask a string(text) from the user and then when submitted via POST method; should display the string(text) as it is submitted, and in altered casing characters (if applicable). Note that altering should start with a capital letter(the first character is always capital). The sample run is presented below.

Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter8: Advanced Data Handling Concepts
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Q1. Alter Character casing.  

Write the source code of a “self-calling/self-processing” PHP page. This page should ask a string(text) from the user and then when submitted via POST method; should display the string(text) as it is submitted, and in altered casing characters (if applicable). Note that altering should start with a capital letter(the first character is always capital). The sample run is presented below.

Hint: The location of characters(indexes) is very important.

String:
Alter Character Case
Original String: HELLO cyprus 1AB
String with altered character cases: HeL10 CyPrUs 1Ab
Transcribed Image Text:String: Alter Character Case Original String: HELLO cyprus 1AB String with altered character cases: HeL10 CyPrUs 1Ab
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Elements and Tags
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage