Ricevo un array vuoto: Array ( [0] => 0 [1] => 0 [2] => 0 [3] => 0 [4] => 0 [5] => 0 [6] => ...Codice PHP:
$num_rows = mysql_num_rows($result);
$points = array();
for($i=1;$i<=$num_rows;$i++){
$point=mysql_fetch_assoc($result);
$points[sizeof($points)] = $point;
if ( ( sizeof($points) > 270) || (sizeof($points)==$num_rows) )
{
print_r( topoGetAltitudes($points));
$points = array();
}
}
dove sbaglio?