1
0

test asort

This commit is contained in:
2022-09-23 00:52:56 +02:00
parent d8b19465e4
commit f5c2f4309f
4 changed files with 113 additions and 36 deletions

View File

@ -12,9 +12,9 @@ $idVotation = $_GET["v"];
$dolibarr = new dbDolibarr();
$query = "SELECT * FROM llx_adherent as a LEFT JOIN llx_adherent_type as t ON a.fk_adherent_type=t.rowid WHERE a.login='" . $dolibarr->protect($idVotant) . "' AND (DATE(a.datefin)>=CURDATE() OR t.subscription=0) AND t.vote=1";
print $query .EOLH;
print $query . EOLH;
$result = $dolibarr->query($query);
print_r($dolibarr);
//print_r($dolibarr);
$votant = $dolibarr->result->fetch_array();
print('<br><br>
<!-- lalis Grid Section -->