Forgotten in commit d59e32326a
This commit is contained in:
parent
7978680db0
commit
bdcb6804db
|
|
@ -1,8 +1,8 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
function chant_from_id($c) {
|
function chant_from_id($c) {
|
||||||
global $db,$mysqli;
|
global $mysqli;
|
||||||
$sql1 = 'SELECT `office-part`,incipit,gabc,version FROM '.$db['chants'].' WHERE id = '.$c;
|
$sql1 = 'SELECT `office-part`,incipit,gabc,version FROM '.db('chants').' WHERE id = '.$c;
|
||||||
$req1 = $mysqli->query($sql1) or die('Erreur SQL !<br />'.$sql1.'<br />'.$mysqli->error);
|
$req1 = $mysqli->query($sql1) or die('Erreur SQL !<br />'.$sql1.'<br />'.$mysqli->error);
|
||||||
$chants = array();
|
$chants = array();
|
||||||
$ch = $req1->fetch_assoc();
|
$ch = $req1->fetch_assoc();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue