Je moet ingelogd zijn om te stemmen.
<select name="Class"> <?php $query="select * from class"; $result = mysql_query($query)or die("Fout!!"); while($rij=mysql_fetch_array($result)){ echo"<option value=\"".$rij["class"]."\">".$rij"class"]."</option>"); } ?> </select> </td> </tr> <tr> <td><font color="#5d6313">Race:</font></td> <td> <select name="Race"> <?php $query="select * from $class"; $result = mysql_query($query)or die("Fout!!"); while($rij=mysql_fetch_array($result)){ echo("<option value=\"".$rij["race"]."\">".$rij["race"]."</option>"); } ?> </select>
<select name="Class"><?php$query="select * from class";$result = mysql_query($query)or die("Fout!!");while($rij=mysql_fetch_array($result)){ echo"<option value=\"".$rij["class"]."\">".$rij"class"]."</option>");}?></select></td></tr><tr><td><font color="#5d6313">Race:</font></td><td><select name="Race"><?php$query="select * from $class";$result = mysql_query($query)or die("Fout!!");while($rij=mysql_fetch_array($result)){echo("<option value=\"".$rij["race"]."\">".$rij["race"]."</option>");}?></select>
<select name="Class"> <?php $query="select * from class"; $result = mysql_query($query)or die("Fout!!"); while($rij=mysql_fetch_array($result)){ ?> <option onclick="submit()" value="<?php echo $rij["class"]; >"><?php echo $rij["class"];?></option> <?php } ?> </select> <select name="Race"> <?php $query="select * from ".$_POST["Class"]; $result = mysql_query($query)or die("Fout!!"); while($rij=mysql_fetch_array($result)){ echo("<option value=\"".$rij["race"]."\">".$rij["race"]."</option>"); } ?> </select>
<select name="Class"><?php$query="select * from class";$result = mysql_query($query)or die("Fout!!");while($rij=mysql_fetch_array($result)){ ?> <option onclick="submit()" value="<?php echo $rij["class"]; >"><?php echo $rij["class"];?></option> <?php}?></select> <select name="Race"><?php$query="select * from ".$_POST["Class"];$result = mysql_query($query)or die("Fout!!");while($rij=mysql_fetch_array($result)){echo("<option value=\"".$rij["race"]."\">".$rij["race"]."</option>");}?></select>
<option onclick="submit()" value="<?php echo $rij["class"]; ?>"><?php echo $rij["class"];?>
<select name="race" onchange="submit()">