<?php
global $current_user;
get_currentuserinfo();
$problem = "Loose";
global $wpdb;
global $result;
$courses = array();
$result = $wpdb->get_results ( "SELECT * FROM $wpdb->tweak WHERE problem = $problem" );
?>
name
<select>
  <option selected="selected">name</option>
  <?php
  foreach( $result as $value ) { ?>
    <option value="<?php echo $value->problem; ?>"><?php echo $value->problem; ?></option>
  <?php
  }
?>
</select>