Fatal error: Maximum execution time of 30 seconds exceeded in
uhm :master:
Codice PHP:
<?
$count 
mysql_query("SELECT COUNT(IdChiamata) FROM Call");                            
                            
$res_count mysql_fetch_row($count);                                        
                            
                            
$tot_records $res_count[0];
                            
                            
$per_page 20;
                        
                            
$tot_pages ceil($tot_records $per_page);
                        
                            
$current_page = (!$_GET['page']) ? : (int)$_GET['page'];
                        
                            
$primo = ($current_page 1) * $per_page;                                    
while(list(
$c$v)=each($ris)) {
                                    
$MatrCall $v["Matricola"];                                                                    
                                    if(
$MatrCall<>$MatrCallOld){                                    
                                        
$MatrCallOld $MatrCall;                                        
                                        
$arrMatr[] = $MatrCallOld;                                
                                    }
                                    
$arrMatrUt[] = $MatrCall;                                                        
                                }    
                                for(
$i=0$i count($arrMatrUt); $i++){
                                    
$MatrCall $arrMatrUt[$i];    
  
$query_limit mysql_query("SELECT Id,Matricola,Nominativo,Telefono,Mail,Sede FROM Utenti WHERE Matricola = '".$MatrCall."'LIMIT $primo$per_page");
                                while(
$row=mysql_fetch_array($query_limit)){    
                                    
$cont $cont +1;
                                        
$id $row["Id"];
                                        
$Matr $row["Matricola"];                                                                    
                                        
$Nom $row["Nominativo"];
                                        
$Tel $row["Telefono"]; 
                                        
$Mail $row["Mail"]; 
                                        
$Sede $row["Sede"];                                    
                                        
$MatrOld=$Matr;    
}
?>