form('idordine'); $idriga = $html->form('idriga'); //Info ordine $q = "SELECT * FROM or_ordini WHERE id='".$idordine."'"; $rs = $dbo->fetchArray($q); ( $rs[0]['numero_esterno'] != '' ) ? $numero=$rs[0]['numero_esterno'] : $numero=$rs[0]['numero']; $idanagrafica = $rs[0]['idanagrafica']; //Info riga inserita $q = "SELECT * FROM or_righe_ordini WHERE idordine='".$idordine."' AND id='".$idriga."'"; $rsr = $dbo->fetchArray($q); $serials = array_column($dbo->fetchArray('SELECT serial FROM mg_prodotti WHERE serial IS NOT NULL AND id_riga_ordine='.($idriga )), 'serial'); /* Form di modifica riga ordine */ echo "

\n"; echo "