Pues mira.. chekeate esto muestra con el <pre></pre>
Código:
Array
(
[0] => Array
(
[0] => La Web
[1] => Más »
[2] => La Web
[3] => 1
[4] => 10
[5] => 126,000,000
[6] => texto
[7] => 0.04
[8] => texto
[9] => ...
[10] => texto
[11] => ...
[12] => Texto
[13] => texto
[14] => ...
[15] => Texto
[16] => texto
[17] => texto
[18] => texto
[19] => ...
[20] => texto
[21] => Texto
[22] => ...
[23] => TEXTO
[24] => Texto
[25] => texto
[26] => texto
[27] => Texto
[28] => texto
[29] => ...
[30] => texto
[31] => texto
[32] => ...
[33] => texto
[34] => texto
[35] => ...
[36] => texto
[37] => ...
[38] => Siguiente
)
)
sin el <pre> esto:
Código:
Array ( [0] => Array ( [0] => La Web [1] => Más » [2] => La Web [3] => 1 [4] => 10 [5] => 126,000,000 [6] => texto [7] => 0.02 [8] => texto [9] => ... [10] => texto [11] => ... [12] => Texto [13] => texto [14] => ... [15] => Texto [16] => texto [17] => texto [18] => texto [19] => ... [20] => texto [21] => Texto [22] => ... [23] => TEXTO [24] => Texto [25] => texto [26] => texto [27] => Texto [28] => texto [29] => ... [30] => texto [31] => texto [32] => ... [33] => texto [34] => texto [35] => ... [36] => texto [37] => ... [38] => Siguiente ) )
y pos pude hacer algo para k saldiera mas o menos como kiero pero no se si funcionara para algo mejor o no se :s
mira
Código:
<?php
$html = file_get_contents("url");
preg_match_all("/<b>.*?<\/b>/", $html, $coincidencias);
//print_r($coincidencias);
foreach($coincidencias as $coin){
$n=count($coin);
for ($i=0; $i<$n; $i++){
echo $coin[$i]."<br>";
}
}
?>
y me muestra lo siguiente:
Código:
La Web
Más »
La Web
1
10
126,000,000
texto
0.03
texto
...
texto
...
Texto
texto
...
Texto
texto
texto
texto
...
texto
Texto
...
TEXTO
Texto
texto
texto
Texto
texto
...
texto
texto
...
texto
texto
...
texto
...
Siguiente