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>
<select name="bot1" id="bot1">
<?php
for($i=0;$i<count($bots);$i++){
echo '<option value="'.$i.'">'.$bots[$i]['name'].'</option>';
foreach($bots as $bot){
echo '<option value="'.$bot['id'].'">'.$bot['name'].'</option>';
}
?>
</select>
&nbsp;VS&nbsp;
<select name="bot2" id="bot2">
<?php
for($i=0;$i<count($bots);$i++){
echo '<option value="'.$i.'">'.$bots[$i]['name'].'</option>';
foreach($bots as $bot){
echo '<option value="'.$bot['id'].'">'.$bot['name'].'</option>';
}
?>
</select>