global $wpdb;
$results = $wpdb->get_results(“SELECT * FROM products”);
print_r($results);
?>