Possible Duplicate:
Grabbing the href attribute of an A element
<td class="lbs" colspan="4">
<span>4 Pack.</span>
<span>
<span class="strike">20.5</span>
<span class="lbs">9.5</span>
</span>
</td>
Hey guys! I need some help. I've tried my best searching for an answer but i seem to have hit a wall.
I'm using curl to grab the piece of code from multiple pages above.
I'm trying to grab each of the values e.g. "4 pack., 20.5, 9.5" and assign them to a variable so i can pass them to a db.