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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.