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.
- Visit Site:
- How to use the query string in PHP
- Filed in:
-
PHP / Tutorials & Tips / Form Processing
- Platforms:
-




- Databases:
-
- Date Added:
- Jul 10, 2005
- Last Updated:
- Jan 7, 2008
License and Pricing Information
Other
Price: $0.00 USD
| Publisher site visits: | 12,597 |
|---|---|
| Average rating: | 3.62 |
| Total ratings: | 39 |
Publisher Info
- Author:
- Sven Vdhrison
Other listings by this publisher
- Find a visitor's IP Address with ASP
- Your First Java Program
- How to use the QueryString in ASP
- How to Find the Current URL with ASP
- How to write text on a dynamically generated image
- Write text on an existing PNG image in PHP
- Generate a Month Calendar in PHP
- Use PHP on pages without a .php extension
- Find a visitor's IP Address with PHP
- How to Find the Current URL with PHP
- Image rotation with PHP
- Temperature Conversion in Java
- The Difference Between require() and include()
- Finding Items in an Array with PHP
