Jump to content

Option Menu


Jay2391

Recommended Posts

okay I have this code ...in where you put the name of a game in the field and post it ....and works

what i want is to change it from a text field to a drop down option field

table: $tablex 
from colum: $game_name

this is the code right now...

print '<h4><form action = "tourney_main.php" method="post"><p>';
 
  print
  '<style type="text/css">
   <!--
  .style9 {font-size: 11px; font-family: Verdana;}
   -->
  </style> 
  <table width="400" border="0" cellspacing="0" cellpadding="0">



<tr>
<th width="200" height="12" align="center" valign="middle" nowrap="nowrap" scope="col">
<div align="left" class="style9">Game:</div></th>
    <td width="200" height="12" align="center" valign="middle" nowrap="nowrap" scope="col">
<div align="left" class="style9"><input type="text" name="game"
size"100" value="' . $_POST['game'] . '"/></div></td>
  </tr>

  print '<br><input type="submit" name="submit" size"20" value="Create Tournamnet"/><br /></h4>';





my toughts where to put a table query and a while statement but it dosen't seem to work inside a table.
Link to comment
https://forums.phpfreaks.com/topic/36199-option-menu/
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.