php sum array elements
<?php
$a=array(5,15,25);
echo array_sum($a);
?>
php sum array elements
<?php
$a=array(5,15,25);
echo array_sum($a);
?>
How to calculate the sum of values in a list PHP
$array = explode( ' ', $variable);
echo array_sum( $array);
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us