DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
6+7 =
Submit