Code: Select all
<td id="ProfileGeneral" width="175" bgcolor="#d5e8fb" style="WORD-WRAP: break-word"></style>hoho"
<br>
Male<br>22 years old<br>Lake Helen, FL<br>
<br>
Last Login: comming soon<br>
</td></tr><tr><td colspan="4">
<a href="http://viewmorepics.myspace.com/index.cfm?fuseaction=user.viewPicture&friendID=10021628">
view more pics (10)</a>I have this for other items from the same page this code is on
Code: Select all
preg_match("/<span class=\"nametext\">(.*)<\/span>/", $html, $msname);
preg_match("/<td class=\"text\" width=\"193\" bgcolor=\"#ffffff\" height=\"75\" align=\"left\">\"(.*)\"<br>/", $html, $msdata);
preg_match("/has <span class=\"redbtext\">(\d+)<\/span> friends/", $html, $msfc);
preg_match("/(\d+) years old/", $html, $msyo);