basic String question
Posted: Sun Aug 21, 2005 2:28 pm
Feel pretty stupid right now, but I need a bit of help.
Without using regex (since I don't know it, and I'm assuming no one would help me write it), how would you go about getting the value of a and b in the following:
I loaded it into a variable using file_get_contents, then thought about using strpos, but couldn't get it to work.
Thanks for the help. I need to get more sleep..
Without using regex (since I don't know it, and I'm assuming no one would help me write it), how would you go about getting the value of a and b in the following:
Code: Select all
<html>
<body>
<table>
<tr>
<td><h3>var</h3></td><td>value</td></tr>
<td><h3>a</h3></td>
<td>37</td>
</tr><tr>
<td><h3>b</h3></td>
</tr>
</table>
</body>
</html>Thanks for the help. I need to get more sleep..