son.of.the.morning Posted October 25, 2010 Share Posted October 25, 2010 any one? Link to comment https://forums.phpfreaks.com/topic/216780-posting-var-values-to-another-page-through-the-address-bar/ Share on other sites More sharing options...
litebearer Posted October 25, 2010 Share Posted October 25, 2010 and your question is? Link to comment https://forums.phpfreaks.com/topic/216780-posting-var-values-to-another-page-through-the-address-bar/#findComment-1126196 Share on other sites More sharing options...
son.of.the.morning Posted October 25, 2010 Author Share Posted October 25, 2010 how can i post a var value to another page through the address bar? Link to comment https://forums.phpfreaks.com/topic/216780-posting-var-values-to-another-page-through-the-address-bar/#findComment-1126199 Share on other sites More sharing options...
litebearer Posted October 25, 2010 Share Posted October 25, 2010 http://www.w3schools.com/PHP/php_get.asp Link to comment https://forums.phpfreaks.com/topic/216780-posting-var-values-to-another-page-through-the-address-bar/#findComment-1126231 Share on other sites More sharing options...
son.of.the.morning Posted October 25, 2010 Author Share Posted October 25, 2010 I want to no how to get it to the address bar not take it from the address bar Link to comment https://forums.phpfreaks.com/topic/216780-posting-var-values-to-another-page-through-the-address-bar/#findComment-1126271 Share on other sites More sharing options...
Pikachu2000 Posted October 25, 2010 Share Posted October 25, 2010 <form method="get" or <a href="file.php?var=1&test=yes">Link</a> Link to comment https://forums.phpfreaks.com/topic/216780-posting-var-values-to-another-page-through-the-address-bar/#findComment-1126273 Share on other sites More sharing options...
litebearer Posted October 25, 2010 Share Posted October 25, 2010 <?PHP $my_variable_1 = "Peter"; $my_variable_2 = "37"; $my_url = "http://www.w3schools.com/welcome.php?fname=" . $my_variable_1 . "&age=" . $my_variable_2; ?> <meta http-equiv="refresh" content="0; URL=<?PHP echo $my_url; ?>"> Link to comment https://forums.phpfreaks.com/topic/216780-posting-var-values-to-another-page-through-the-address-bar/#findComment-1126279 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.