Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

How to calculate the sum of values in a list PHP

$array = explode( ' ', $variable);
echo array_sum( $array);
 
PREVIOUS NEXT
Tagged: #How #calculate #sum #values #list #PHP
ADD COMMENT
Topic
Name
9+1 =