Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Exercise 2 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
Exercise 2 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 Display Name data from query String Age Display Age data from query String Phone Number Display phone number 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 found
Step 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