Categories

Updated: 01/07/2008

How to use the query string in PHP

This article tells you how to pass variables to a PHP page using the query string, and how to access them from that page. Have you ever seen a URL which looked like &"www.example.com/pag e.php?mode=1&&style=red&"? Well, this page is being passed variables and their values through the query string, here the variables &"mode&" and &"style&" are being passed, with values &"1&" and &"red&" respectively. The question mark indicates the start of the query string and the ampersand, &&, symbol seperates variable=value assignments.
©2003-2019 jCay.com