Feb 10, 2004 #1 thedaver IS-IT--Management Joined Jul 12, 2001 Messages 2,741 Location US Is there a PHP function to sum the values of an array? Surfinbox.com Business Internet Services - National Dialup, DSL, T-1 and more. http://www.surfinbox.com/business/
Is there a PHP function to sum the values of an array? Surfinbox.com Business Internet Services - National Dialup, DSL, T-1 and more. http://www.surfinbox.com/business/
Feb 10, 2004 2 #2 sleipnir214 Programmer Joined May 6, 2002 Messages 15,350 Location US Maybe array_sum()? http://www.php.net/manual/en/function.array-sum.php I found it pretty quicky by going to that part of the PHP online manual that covers array functions (http://www.php.net/manual/en/ref.array.php) and doing a web browser content search for the word "sum". Want the best answers? Ask the best questions: http://www.catb.org/~esr/faqs/smart-questions.htmlTANSTAAFL!! Upvote 0 Downvote
Maybe array_sum()? http://www.php.net/manual/en/function.array-sum.php I found it pretty quicky by going to that part of the PHP online manual that covers array functions (http://www.php.net/manual/en/ref.array.php) and doing a web browser content search for the word "sum". Want the best answers? Ask the best questions: http://www.catb.org/~esr/faqs/smart-questions.htmlTANSTAAFL!!
Feb 10, 2004 Thread starter #3 thedaver IS-IT--Management Joined Jul 12, 2001 Messages 2,741 Location US ouch, that hurt. too easy. ;-) I'll ask something harder next time. Surfinbox.com Business Internet Services - National Dialup, DSL, T-1 and more. http://www.surfinbox.com/business/ Upvote 0 Downvote
ouch, that hurt. too easy. ;-) I'll ask something harder next time. Surfinbox.com Business Internet Services - National Dialup, DSL, T-1 and more. http://www.surfinbox.com/business/