echo $participant->get_type(); ?> </span> <select class="basic_info_pool_edit" id="type_pool_edit"/> <option value="">-------</option> <?php $get_types_sqlsafe = "SELECT * FROM Pool_Member_Types;"; include "../include/dbconnopen.php"; $all_types = mysqli_query($cnnSWOP, $get_types_sqlsafe); while ($type = mysqli_fetch_row($all_types)) { ?> <option value="<?php echo $type[0]; ?> " <?php echo $type[0] == $participant->get_type_id() ? 'selected="selected"' : null; ?> ><?php echo $type[1]; ?> </option> <?php } include "../include/dbconnclose.php"; ?> </select> </td> </tr> <tr> <td> <Strong>Ward: </Strong>