Answers for "get sum of colum under list in php"

PHP
0

How to calculate the sum of values in a list PHP

$array = explode( ' ', $variable);
echo array_sum( $array);
Posted by: Guest on February-06-2021

Browse Popular Code Answers by Language