query($sql); $temprow = $adb->fetch_array($result); do { $selected = ''; $name=$temprow["profilename"]; $profileid=$temprow["profileid"]; if($profileid == $selected_profileid) { $selected = 'selected'; } ?>
>
fetch_array($result)); ?>