Jump to content

<OBJECT> Drop Down Menu : Connect to mysql


CEinNYC

Recommended Posts

your MySQL server version:  5.1.36

 

SELECT * FROM game_weapons 

 

Table: Picture Attached

 

the EXPLAIN output for your query, if applicable:

I wish to connect a drop down menu's selection of weapons with the correlated table information.

 

What do I want to happen:

Click on a drop down Menu and have a list of weapons, these weapons are associated with a set number in the database and passed onto the next screen.  (The larger number wins, this part I have figured out).

 

<p>

<select name="weapon2" style="font-size:20px;font-family:Arial;width:275px">

<option value="power">Power</option>

<option value="intelligence">Intelligence</option>

<option value="speed">Speed</option>

<option value="reserve">Reserve</option>

</select>

</p>

 

 

I do have the battle code figured out!  (This should be the last step).

 

 

 

[attachment deleted by admin]

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.