START
global $wpdb; $result = $wpdb->get_results('SELECT name, count FROM wp_celebcount'); foreach($result as $row) { echo 'Name: '.$row->name.', Count: '.$row->count.'
'; }