expl_notice) { return $row->expl_notice; } else { $query = "select num_notice from bulletins where bulletin_id = ".$row->expl_bulletin; $result = pmb_mysql_query($query); return pmb_mysql_result($result, 0, 'num_notice'); } } // Donne l'id du bulletin par son identifiant d'expl public static function get_expl_bulletin_from_id($expl_id=0) { $expl_id += 0; $query = "select expl_bulletin from exemplaires where expl_id = ".$expl_id; $result = pmb_mysql_query($query); return pmb_mysql_result($result, 0, 'expl_bulletin'); } }