How to use the query string in PHP

Category: Other - Tutorials & Articles

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=re d"? 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. Date: 02 October, 2011

Homepage: http://vdhri.net/webHostingNews/2005/10/how_to_use_the_query_string_in_php.html

Developer: Sven Vdhrison

License: Freeware

Operating System: linux, windows, freebsd, osx, sun

Add a Comment

all are required fields

     
What do you think of this resource?

Select Your Rate:

Votes:0