This commit is contained in:
Gnieark 2016-05-11 11:20:02 +02:00
parent bc4a44894b
commit ae48bd4576

View File

@ -9,16 +9,16 @@ $bots=get_Bots_Array('connectFou');
<p> <p>
<select name="bot1" id="bot1"> <select name="bot1" id="bot1">
<?php <?php
for($i=0;$i<count($bots);$i++){ foreach($bots as $bot){
echo '<option value="'.$i.'">'.$bots[$i]['name'].'</option>'; echo '<option value="'.$bot['id'].'">'.$bot['name'].'</option>';
} }
?> ?>
</select> </select>
&nbsp;VS&nbsp; &nbsp;VS&nbsp;
<select name="bot2" id="bot2"> <select name="bot2" id="bot2">
<?php <?php
for($i=0;$i<count($bots);$i++){ foreach($bots as $bot){
echo '<option value="'.$i.'">'.$bots[$i]['name'].'</option>'; echo '<option value="'.$bot['id'].'">'.$bot['name'].'</option>';
} }
?> ?>
</select> </select>