I have this string <td id="aui_3_2_0_1196">500</td>
, I'd like to get the value 500
between the start and end tag ( <td id="aui_3_2_0_1196">
and </td>
).
I have this string <td id="aui_3_2_0_1196">500</td>
, I'd like to get the value 500
between the start and end tag ( <td id="aui_3_2_0_1196">
and </td>
).
Try:
$text = '<td id="aui_3_2_0_1196">500</td>';
echo strip_tags($text);
Anything goes on commenting.