Check(); $g_user->check_dossier($_GET['gDossier']); $res=$cn->exec_sql("select distinct code,description from get_profile_menu($1) where code ~* $2 or description ~* $3 order by code limit 5 ",array($g_user->get_profile(),$_POST['acs'],$_POST['acs'])); $nb=Database::num_row($res); echo ""; if ( $nb == 0 ) { echo _('Aucune correspondance'); } ?>