Ops, esqueci de identificar a linha 295.<br>Só para ajudar um pouco.<br><br><br><i>.<br>.<br>.<br><br>$QUERY = "SELECT substring(calldate,1,10) AS day,
sum(duration) AS calltime, count(*) as nbcall FROM cdr WHERE
".$FG_TABLE_CLAUSE." GROUP BY substring(calldate,1,10)"; //extract(DAY
from calldate) <br>
//echo "$QUERY";<br><br><br> $res = $DBHandle -> query($QUERY);<br> $num = $res -> numRows(); <b><= Linha 295</b><br> for($i=0;$i<$num;$i++)<br>
</i><div id=":2qm" class="ii gt"><i> {<br>
</i><i> $list_total_day [] = $res -> fetchRow();<br> </i><i> }<br><br><br>.<br>.<br>.<br clear="all"></i></div><br><br>-- <br>Att,<br><br>Elson José dos Santos Júnior<br>
Virt Telecomunicações<br>Departamento de Redes e Telefonia<br><br>“Keep the Faith”<br><br>