Writings Tutorials

PHP Variables and Query Strings

Introduction

You have probably surfed the Internet enough to see the different ‘types’ of URLs you see on the address bar every time you visit websites. These URLs may be in the form of http://domain.tld/article or http://domain.tld/?p=1. The first type of URL is the static type. It is seen in most websites. The latter type, the dynamic type, has a query string, p=1. This type is usually used in blog-type websites (although there are options to transform URLs to the first type in blogs). In this tutorial, you will learn how to create and use query strings in URLs.

Continue reading