diff --git a/incipit.php b/incipit.php
index 24cdf94..9f0c33b 100644
--- a/incipit.php
+++ b/incipit.php
@@ -13,7 +13,7 @@ echo "
$title
\n";
if($l) {
$sql1 = 'SELECT * FROM '.db('chants').' WHERE `incipit` LIKE "'.$l.'%" ORDER BY incipit ASC';
} else {
- $sql1 = 'SELECT * FROM '.db('chants').' WHERE `incipit` LIKE "" ORDER BY incipit ASC';
+ $sql1 = 'SELECT * FROM '.db('chants')." WHERE `incipit` LIKE '' OR UPPER(incipit) REGEXP '^[^A-Zƌ].*' ORDER BY incipit ASC";
}
$req1 = $mysqli->query($sql1) or die('Erreur SQL !
'.$sql1.'
'.$mysqli->error);
$chants = array();
diff --git a/scores.php b/scores.php
index 83bd4a8..b12bbd6 100644
--- a/scores.php
+++ b/scores.php
@@ -7,11 +7,12 @@ include('include/header.php');
echo "Chants
\n";
echo "by incipit
\n";
-$sql1 = 'SELECT DISTINCT UPPER(SUBSTRING(incipit,1,1)) AS letters FROM '.db('chants').' ORDER BY letters ASC';
+$sql1 = 'SELECT DISTINCT UPPER(SUBSTRING(incipit,1,1)) AS letters FROM '.db('chants')." WHERE UPPER(incipit) REGEXP '^[A-Zƌ]' ORDER BY letters ASC";
$req1 = $mysqli->query($sql1) or die('Erreur SQL !
'.$sql1.'
'.$mysqli->error);
echo "\n\n";
@@ -20,7 +21,7 @@ $sql1 = 'SELECT * FROM '.db('chants').' WHERE `office-part` != "" GROUP BY `offi
$req1 = $mysqli->query($sql1) or die('Erreur SQL !
'.$sql1.'
'.$mysqli->error);
echo "\n";