displayDescription($description); /** * */ // $dir = getcwd(); $dir = substr($dir, 0, strlen($dir) - 4)."/sql/".$f->phptype."/"; $dossier = opendir($dir); $tab = array(); while ($entree = readdir($dossier)) { if (strstr($entree, "pdf.")) { array_push($tab, array('file' => substr($entree, 0, strlen($entree) - 8))); } } closedir($dossier); asort($tab); /** * */ // echo "\n