method search documentation in bbn\Entities\People

function($fn) { $fn = $this->set_info($fn); if (!empty($fn['fnom'])) { return $this->db->selectOne( 'bbn_addresses', 'id', [ 'cp' => $fn['cp'], 'adresse' => $fn['adresse'] ] ); $h = $this->db->getOne( " SELECT id FROM bbn_people WHERE TRIM( IF ( civilite IS NULL, nom, CONCAT(civilite, ' ', prenom, ' ',nom) ) ) LIKE ? OR ( nom LIKE ? AND prenom LIKE ? ) LIMIT 1", $fn['fnom'], $fn['nom'], $fn['prenom'] ); return $h; } return false; }

BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.