doublonsMySQL.php

<?
include('php/connect.php');
$result=mysql_query("SELECT *, COUNT(term) as term_count FROM glossary_terms_fr GROUP BY term");


while ($ligne = mysql_fetch_object($result)) {

       if($ligne->term_count >= 2) {
               echo "$ligne->term$ligne->term_count<br>";
       }

}

?>
 
info/doublonsmysql.txt · Dernière modification: 2008/11/11 11:37 (modification externe)
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki