Archimedees Posted October 29, 2007 Share Posted October 29, 2007 in first.php $arServers is an array containing a list of Server names. Now, using a form I want to pass the server names to a file, second.php using form submit . how do I include name="server" in following echo statement so that I can get the server names in second.php? Thanks. foreach($arServers as $key => $value) echo " <td><pre>--".$value["name"]."--</pre></td>\n"; Second.php if (isset($_GET["name"])) { $strServer = $_GET["name"]; } else { die(); }//end of (isset($_GET["name"]); Quote Link to comment https://forums.phpfreaks.com/topic/75185-processing-_get-variables/ Share on other sites More sharing options...
MadTechie Posted October 29, 2007 Share Posted October 29, 2007 Okay.. are using a form/hyperlink what? These going to be visible to the user ? what you doing this ? too little info to give real advice soo.. if your using a form then use an array element! Quote Link to comment https://forums.phpfreaks.com/topic/75185-processing-_get-variables/#findComment-380242 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.