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"]); 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! Link to comment https://forums.phpfreaks.com/topic/75185-processing-_get-variables/#findComment-380242 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.