Sure thats the full snippet
Searches mysite.com for the members url & the corresponding member number
$url = "http://www.mysite.com";
$myfile = file($url);
foreach ($myfile as $row=>$data) {
preg_match('#<member_URL="(.*?)" Member_number="([0-9]+){1,}"/>#si', $data, $p);
$normalvar = $p[1];
echo $p[1];
echo $p[2];
}
Thing i need is to take $p[1] & $p[2] and make them normal vars