/*********************************** * VERSIONE 3.0 READY ***********************************/ include ("../common/public.php") ; $gime = date("d/m") ; $query = " select count(*) as tot_for from fornitori where attivo = 1 " ; $db->query($query) ; while ($db->next_record()) $tot_for = $db->f("tot_for") ; if ($tot_for > 0) { $qf = " select * from fornitori where (attivo = '1') or (attivo = '0' and AnnoDisattivazione) >= $anno) order by Nome " ; debug (0, $qf) ; $db->query($qf) ; while ($db->next_record()) { $fornid[] = $db->f("IdFornitori") ; $fornnome[] = $db->f("Nome") ; } } ?>
| Fornitore: | (NB: selezione multipla consentita) |
Cliente: | |
Nessun Fornitore presente in archivio |