Jump to content

Can i get a hand please?


GetReady

Recommended Posts

Hi, Im pretty new to this whole scene so am not 100% sure how i would go about this, Basically currently the users of my site would select what "class" they want to chose via a drop down menu selection as shown below, i wish to change this to instead of it being done via this it would be done via a <input type="Submit" value="Select As My Class"><br><br> do you have any idea if this is possible? and if so how would i go about it, Any help will be greatly appreciated, Thanks.

 

<td>Desired class:</td>
                <td> <select name="class">
                    <? 
					for ($i=0; $i<count($conf["class"]);$i++){
					echo "<option value=$i ";
					if ((strpos ( $cgi['join'], $conf['class'][$i]['name'])!== false)||($cgi['class']==$i)) { echo " selected "; }
					echo " >{$conf['class'][$i]['name']}</option> ";
					}
					?>
                  </select> </td>
              </tr>

Link to comment
https://forums.phpfreaks.com/topic/197570-can-i-get-a-hand-please/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.