include "../config.inc.php"; mysql_connect($host,$db_user,$db_pass) or die ("Problème lors de la connexion à la base de données..."); $faq_search_query = "select * from faq ORDER BY date DESC LIMIT 10"; $faq_search_result = mysql_db_query($db_name, $faq_search_query); $astuces_search_query = "select * from astuces ORDER BY date DESC LIMIT 0,5"; $astuces_search_result = mysql_db_query($db_name, $astuces_search_query); $search_query = "SELECT DISTINCT SUBSTRING(titre,1,1) FROM glossaire ORDER BY 1"; $glossaire_result = mysql_db_query($db_name, $search_query); $toutAlphabet=ListeAlpha($glossaire_result); $totalAlphabet=mysql_num_rows($glossaire_result); ?>
|