i have a function that returns a value
function blah
{
...
$temp1 = strpos($sp_data,"<CURRENTLISTENERS>",0);
$temp2 = strpos($sp_data,"</CURRENTLISTENERS>",0);
$listeners = substr($sp_data,$temp1,$temp2 - $temp1);
return $listeners;
}
ok so..
$xx = blah()
but when i try to do anything with $xx mathmaticaly it returns 0?
$y = $xx * 100;
$y equals 0 for some reason? is there sumthing i am doing wrong?