glkshankar Posted February 23, 2009 Share Posted February 23, 2009 Hi All, I am new to PHP scripting need some quick help in my code. I am using $_GET for getting values from a drop down like below: <Select Name='Cluster' id='1'>; echo $_GET["<option value = $ID>" .$NAME. "</option>"]; from this i can get the id into $_get but i want both NAME and ID is there any way like $_get.id, $_get.name that i can use and use the values in different places. --Shankar Quote Link to comment https://forums.phpfreaks.com/topic/146518-how-to-get-multiple-values/ Share on other sites More sharing options...
djbuddhi Posted March 6, 2009 Share Posted March 6, 2009 easy u display the values like this val1 -val2-val3 by using a JavaScript u can split with the - value and take the variables easily Quote Link to comment https://forums.phpfreaks.com/topic/146518-how-to-get-multiple-values/#findComment-777993 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.