public static function getDumpQueryResult($var)
  {
    $header = true;
    $dump = '<table cellpadding=5 cellspacing=0>';
    $i = 1;
    foreach ($var as $ligne) {
      // Affichage du header
      if ($header) {
        $dump .= '<tr>';
        foreach ($ligne as $key => $value) {
          if (!is_numeric($key)) {
            $dump .= '<th>' . $key . '</th>';
          }
        }
        $dump .= '</tr>';
        $header = false;
      }
      // Affichage des données
      $class = '';
      if (!($i % 2)) {
        $class = 'highlight';
      }
      $dump .= '<tr class="' . $class . '">';
      foreach ($ligne as $key => $value) {
        if (!is_numeric($key)) {
          if ($value != '') {
            $dump .= '<td>' . $value . '</td>';
          } else {
            $dump .= '<td>&nbsp;</td>';
          }
        }
      }
      $dump .= '</tr>';
      $i++;
    }
    $dump .= '</table>';
    return $dump;
  }