By 12/02/2016 6 Comments

How To Use Query String In PHP

  • Query string is a part of state management in web technologies.
  • Query string is used to pass the same data between website pages through hyperlinks.
  • Query string value is stored/passed in browser’s address bar or url bar. Later you can get and use these stored values in your PHP web page through $_GET[] super global array.

Example: index page

$site_name = "TutorialsTown";
  $site_url = "tutorialstown.com";
  $about = "programing tutorials";
  echo " Go to page-2 ";

Example: page-2

Page-2

Website name : echo $_GET['site_name'];

Url : echo $_GET['site_url'];

About : echo $_GET['about'];







← Previous Tutorial


Posted in: PHP, Solutions

Leave your valuable Comment

Have a natural attraction for women cosmetics and replica watches uk clothes, no
more than two for men the most attractive one, is to make their own driving experience, happy and can serve as the facade of the car, another is to highlight the taste edify sentiment rolex replica watch. The replica rolex is undoubtedly the most fashionable accessories, wear a suit to attend the activities, but also get a decent match on the replica watches .