/* Decoded by unphp.net */ include("./includes/connection.php"); $temp = 0; if(isset($_GET['disease_group_id'])){ $disease_group_id = $_GET['disease_group_id']; }else{ $disease_group_id = 0; } $select = mysqli_query($conn,"select disease_name, d.disease_id, d.disease_code from tbl_disease d, tbl_disease_group_mapping dgm where dgm.disease_id = d.disease_id and dgm.disease_group_id = '$disease_group_id' order by d.disease_name limit 200") or die(mysqli_error($conn)); $num = mysqli_num_rows($select); if($num >0){ echo ""; while ($data = mysqli_fetch_array($select)) { ;echo ' '; } echo "
';echo ++$temp;;echo ' ';echo ucwords($data['disease_name'].' - ('.$data['disease_code']).')';;echo '
"; };