Version 0.3: replace Prototype by JQuery and use bootstrap
This commit is contained in:
parent
32b69fbd20
commit
ad51d9da73
39 changed files with 19615 additions and 8436 deletions
|
|
@ -13,7 +13,7 @@ $nom = gpc('auteur', 'post');
|
|||
|
||||
$bdd = new BDD();
|
||||
$bdd->escape($nom);
|
||||
$chanteurs = $bdd->query("SELECT chanteur FROM gsm WHERE chanteur LIKE '$nom%' GROUP BY chanteur;");
|
||||
$chanteurs = $bdd->query("SELECT artiste FROM gsm_titres WHERE artiste LIKE '$nom%' GROUP BY artiste;");
|
||||
$bdd->deconnexion();
|
||||
|
||||
if (!empty($chanteurs) && !empty($nom))
|
||||
|
|
@ -21,7 +21,7 @@ if (!empty($chanteurs) && !empty($nom))
|
|||
print "<ul>\n";
|
||||
foreach ($chanteurs as $chanteur)
|
||||
{
|
||||
print ' <li>'.$chanteur["chanteur"]."</li>\n";
|
||||
print ' <li>'.$chanteur["artiste"]."</li>\n";
|
||||
}
|
||||
print "</ul>";
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue