yanez25
unread,Nov 2, 2012, 8:42:10 AM11/2/12You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Buongiorno,
ho questo array:
$i=0;
while($info01 = db2_fetch_both($risultato01))
{
$queryxx = "SELECT COUNT(DISTINCT CDCLI) as TONRCLI FROM
LIBRERIA.DATI001L1;
$risultatoxx = db2_exec($conn,$queryxx);
$infoxx = db2_fetch_both($risultatoxx);
$arrxx[$i]['CDCLI'] = $info01['CDCLI'];
$arrxx[$i]['TONRCLI'] = $info01['TONRCLI'];
$i++;
}
devo poter rileggere lo stesso array per poi al suo interno inserire un
nuovo SQL per una successiva estrazione.
Ho provato con il ciclo while:
$arryy = array();
$x = 0;
while($infoyy = db2_fetch_both($risultatoxx))
{
}
ma non mi entra nel ciclo while.
Chi mi da una mano? Grazie