I have some php code that uses curl to fetch a webpage - a portion of the html code is:
<select class="select" id="type" name="type">
<option value="1" selected="selected">Weight</option>
<option value="90160124">Body Fat</option>
<option value="90160125">Percent Water</option>
</select>
Any regex boffins out there. I would like to grap some data and put it in an array where I can use it later.
so something like:
data[0,0] = 1, Weight
data[1,1] = 90160124, Body Fat
data[2,2] = 90160125, Percent Water