Warptweet Posted February 12, 2007 Share Posted February 12, 2007 Does anyone know what putting something like ?flashpage=1 at the end of my page does? Does anyone know a link to some tutorials that explain this in depth? Link to comment https://forums.phpfreaks.com/topic/38109-what-is-and-how-do-i-use-it/ Share on other sites More sharing options...
fert Posted February 12, 2007 Share Posted February 12, 2007 read about $_GET Link to comment https://forums.phpfreaks.com/topic/38109-what-is-and-how-do-i-use-it/#findComment-182470 Share on other sites More sharing options...
Wireless102 Posted February 12, 2007 Share Posted February 12, 2007 Does anyone know what putting something like ?flashpage=1 at the end of my page does? Does anyone know a link to some tutorials that explain this in depth? with what you have typed you could put this in a php file and get the value "1" www. yourdomain . com?flashpage=1 <?php $test = $_GET['flashpage']; echo $test; //will print out "1" if ?flashpage=1 ?> Link to comment https://forums.phpfreaks.com/topic/38109-what-is-and-how-do-i-use-it/#findComment-182534 Share on other sites More sharing options...
wildteen88 Posted February 12, 2007 Share Posted February 12, 2007 Its called a query string. A query string is just a collection of variables that hold temporary data which will be used for the page you are currently on. You can access the variables in the query string in the url by using the $_GET variable. Link to comment https://forums.phpfreaks.com/topic/38109-what-is-and-how-do-i-use-it/#findComment-182968 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.