How do i get the last value
foreach ($rows as $row) {
//print_r($row);
$balance = $row['balance'];
i want the last value in $row['balance'];
// $balancedd .= $row['balance'];
i tried end($balancedd) ; but i got and error
How do i get the last value
foreach ($rows as $row) {
//print_r($row);
$balance = $row['balance'];
i want the last value in $row['balance'];
// $balancedd .= $row['balance'];
i tried end($balancedd) ; but i got and error