data = array(); // comptage des demandes à valider $query = " SELECT 1 FROM demandes where etat_demande=1 limit 1"; if($this->is_num_rows_from_query($query)) { $this->add_data('list', 'alerte_demandes_traiter', '', '&idetat=1'); } } }