Backend and Infrastructure

PHP Query Parameters

Sprout Video

In this tutorial we're going to create pages for each of our pets by using a query parameter. This is a bit of code that is added to the end of a URL to pass information to PHP. They look something like ?id=23. On the PHP side of things we'll use the $_GET superglobal variable to pull that data into our code.