Hope this will be the last post for today 🙂
I have this stored in a string variable:
$table= <table id=Table1 width="100%" border="1" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
What I need is to count the number of occurances of the <tr> tage?? In other word I need to know the number of rows in the table!
Can anyone help!!