How to use the query string in PHP

Visit Publisher Site

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.

Visit publisher site: How to use the query string in PHP

Listing Details

Filed in:
Scripts / PHP / Tutorials & Tips / Form Processing
Submitted on:
 
Last Updated:
Jan 7, 2008 
Publisher:
Sven Vdhrison Other listings by this publisher

License & Pricing Information

LICENSE #1
License Type:
Other
Price:
$0.00 USD
Additional Info:

User Reviews 

Be the first to review this listing!
Average Member Rating: 3.62/5