Origines des notices NG72 $sql="select orinot_diffusion from origine_notice,notices where notice_id = '$id' and origine_catalogage = orinot_id"; $res=pmb_mysql_query($sql,$dbh); if(pmb_mysql_num_rows($res)){ $diffusable = pmb_mysql_result($res,0,0); if($diffusable){ $export= new start_export($id,$typeexport,$param_export) ; $e_notice.=$export->output_notice; $nb_notices++; } } $z ++; } } if($nb_notices>0){ $e_notice=$export->get_header().$e_notice.$export->get_footer(); } return $e_notice ; } ?>