- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
<?php
$code = "<table> <tr><td>1</td></tr> <tr><td>2</td></tr> </table>";
$out_arr = array();
while($line = substr( ($code = substr($code, strpos($code, ($s = "<tr><td>")) + strlen($s))), 0,
($s = strpos($code, "</td></tr>"))) and $s and array_push($out_arr, $line) );
print_r($out_arr);
?>
guest 27.07.2009 08:11 # 0
guest 27.07.2009 10:25 # 0
guest 27.07.2009 23:08 # 0