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 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 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
Archived
This topic is now archived and is closed to further replies.