Php Get Data From Query Sql Running Count Excel