This commit is contained in:
Marc Delisle
2002-06-11 13:30:37 +00:00
parent 39f9ab6f54
commit 8dd6539b10

View File

@@ -109,16 +109,16 @@ if (!isset($param) || $param[0] == '') {
<td bgcolor="<?php echo $bgcolor; ?>"><?php echo $fields_type[$i]; ?></td> <td bgcolor="<?php echo $bgcolor; ?>"><?php echo $fields_type[$i]; ?></td>
<td bgcolor="<?php echo $bgcolor; ?>"> <td bgcolor="<?php echo $bgcolor; ?>">
<select name="func[]"> <select name="func[]">
<?php <?php
reset($numfunctions); reset($numfunctions);
reset($textfunctions); reset($textfunctions);
if (eregi('char|blob|text|set|enum', $fields_type[$i])){ if (eregi('char|blob|text|set|enum', $fields_type[$i])){
while (list($k,$fc) = each($textfunctions)){ while (list($k,$fc) = each($textfunctions)){
echo '<option name="'.$fc.'">'.htmlentities($fc).'</option>' . "\n"; echo ' <option value="'.$fc.'">'.htmlentities($fc).'</option>' . "\n";
} }
}else{ }else{
while (list($k,$fc) = each($numfunctions)){ while (list($k,$fc) = each($numfunctions)){
echo '<option name="'.$fc.'">'.htmlentities($fc).'</option>' . "\n"; echo ' <option value="'.$fc.'">'.htmlentities($fc).'</option>' . "\n";
} }
} }
?> ?>