Hello, Id like to get everything between <td> and </td> I cant explode since theres a / after the second td.. how could i work this?
Thanks -Arron
$open_tag = '<td>'; $close_tag = '</td>'; $start = strpos($input, $open_tag) + strlen($open_tag); $end = strpos($input, $close_tag, $start); $text = substr($input, $start, $end - $start);