Ver Mensaje Individual
  #3 (permalink)  
Antiguo 02/06/2016, 10:30
Avatar de dryant
dryant
 
Fecha de Ingreso: agosto-2009
Ubicación: Malaga, Ceuta, España....
Mensajes: 281
Antigüedad: 11 años, 10 meses
Puntos: 10
Respuesta: No consigo nada con preg_match_all...

Hola pateketrueke, gracias por contestar.

Parte del html es este: El resto es mas de lo mismo:
Cita:
<html lang="es">
<head>
<meta charset="Windows-1252">
<meta http-equiv="refresh" content="10000;URL=index.php">
<title>Document</title>
</head>
<body>
<html>
<head><title>GPS LOG FILE</title></head>
<body>
<table BORDER>

<tr BGCOLOR="#FFCCCC">
<td>Station name</td><td>Subscriber</td><td>Date</td><td>UTC</td><td>Latitude</td><td>Longitude</td><td>Elevation</td><td>Satellites</td><td>NMEA message</td>
</tr>

<tr>
<td>pepe</td><td>VHF5400104</td><td>20/04/16</td><td>11h35'52"</td><td>35�54.2088' N</td><td>5�20.9986' W</td><td>n/a</td><td>n/a</td><td>$GPRMC,113552,A,3554.2088,N,00520.9986,W,0. 040,6.9,200416,2.6,W*75</td>
</tr>

<tr>
<td>pipi</td><td>VHF5400104</td><td>n/a</td><td>11h35'53"</td><td>35�54.2085' N</td><td>5�20.9988' W</td><td>79</td><td>7</td><td>$GPGGA,113553,3554.2086,N,00520.9988,W,1,07 ,1.40,79.3,M,47.4,M,0,0000*64</td>
</tr>

<tr>
<td>pipi</td><td>VHF5400104</td><td>20/04/16</td><td>12h15'16"</td><td>35�54.1988' N</td><td>5�21.0032' W</td><td>n/a</td><td>n/a</td><td>$GPRMC,121516,A,3554.1989,N,00521.0032,W,0. 069,356.7,200416,2.6,W*72</td>
</tr>

<tr>
<td>pipi</td><td>VHF5400104</td><td>n/a</td><td>12h15'17"</td><td>35�54.1986' N</td><td>5�21.0037' W</td><td>85</td><td>7</td><td>$GPGGA,121517,3554.1987,N,00521.0037,W,1,07 ,1.00,85.7,M,47.4,M,0,0000*68</td>
</tr>

<tr>
<td>pipi</td><td>VHF5400104</td><td>20/04/16</td><td>12h32'06"</td><td>35�54.2084' N</td><td>5�20.9953' W</td><td>n/a</td><td>n/a</td><td>$GPRMC,123206,A,3554.2084,N,00520.9954,W,0. 064,41.3,200416,2.6,W*4C</td>
</tr>

<tr>
<td>pipi</td><td>VHF5400104</td><td>n/a</td><td>12h32'06"</td><td>35�54.2084' N</td><td>5�20.9953' W</td><td>67</td><td>8</td><td>$GPGGA,123206,3554.2084,N,00520.9954,W,1,08 ,0.80,67.7,M,47.4,M,0,0000*6A</td>
</tr>

<tr>
<td>pipi</td><td>VHF5400104</td><td>20/04/16</td><td>12h32'07"</td><td>35�54.2088' N</td><td>5�20.9953' W</td><td>n/a</td><td>n/a</td><td>$GPRMC,123207,A,3554.2088,N,00520.9954,W,0. 045,58.4,200416,2.6,W*4D</td>
</tr>

<tr>
<td>pipi</td><td>VHF5400104</td><td>n/a</td><td>12h32'08"</td><td>35�54.2092' N</td><td>5�20.9953' W</td><td>67</td><td>7</td><td>$GPGGA,123208,3554.2092,N,00520.9954,W,1,07 ,1.40,67.2,M,47.4,M,0,0000*64</td>
</tr>
La misma expresion regular en la web de prueba de regexr.com me pilla bien todas las celdas con este html... sin embargo en el php no...

Saludos
__________________
Tecnología y tutoriales