Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $total = 0;
- foreach($info->offer as $offer)
- {
- $total += $offer->{'exchange-rate'};
- echo $offer->{'exchange-rate'} . " " . $total . "<br/>";
- }
- tulostaa:
- 0.016 0
- 0.016 0
- 0.016 0
- 0.016 0
- 0.016 0
- 0.016 0
- 0.016 0
- 0.016 0
- 0.016 0
- 0.016 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement