PHP:Sum an Array
You can add the numbers in the array [6,7,29] using a loop.
An alternative (and better) method:
$a=array(6,7,29); echo array_sum($a);
[Font]
[Default]
[Show]
[Resize]
[History]
[Profile]
You can add the numbers in the array [6,7,29] using a loop.
An alternative (and better) method:
$a=array(6,7,29); echo array_sum($a);
test text