Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please answer and show your work. Thumbs up guaranteed. Please add comments so I can understand how you wrote the code. Please keep the code
Please answer and show your work. Thumbs up guaranteed.
Please add comments so I can understand how you wrote the code. Please keep the code fairly simple as well for these are introductory questions with the basics of PHP taught only.
Thank you!
Given the following URI (Uniform Resource Identifier): http://www.site.com/index.php?age 22&name- Obi+Wan+Kenobi&number 5435432156 Answer the following short questions: 1- What is a query string and what purpose does it serve in server-side programming? 2- Is a query string characteristic of a GET or POST request method? 3- Which part of the URL is considered the query string? 4- How many different data parameters are being passed? Create a single .php page (name it index.php) that, when passed the above query string as part of the URL processes the data using PHP and outputs it onto the screen in a nicely formatted table that resembles (CSS should be used in order to add some style): Name Age Phone Number Display phone number from query String Display Name data from query String Display Age data from query String The text in italics must be replaced with the appropriate values retrieved from the URI query string. If the query string is omitted from the URL, the above table should be replaced with the message: "No query string data foundStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started