I have a list on the page. And I want to get only amount (to be more specific, only total sum). So I tryed ot do it via post an array which i transform and i get rows like:
"recived from player"
"0.000058"
"2014-06-30 15:21:46 UTC"
I have tryied to get an if(is_numeric($row1)) but it doesn't work (blank page).
foreach ($p as $r) {
$row = str_replace("\t",'<br />',$r);
$row1 = str_replace("silver","",$row);
if (is_numeric($row1)) {
echo $row1;
}
}
Any idea how to solve it?