Navigation :

Home
Source code
Tutorials
RSS feeds
Articles
Wordpress plugins
Blog
Books
Software
Downloads
Hosting
manuals
Script directory
Training
Our Links




Site Sponsors :

Bookmark :

Links :

dropshippers
programmershelp
software directory

Downloads :

Misc :

Webmaster Resources
Only PHP
ScriptSearch.com
Scripts.com - Get the best scripts NOW!
AndreaPHP Programming

Valid XHTML 1.0 Transitional


Valid CSS!




adding the values in array

this example shows how to add the values in an array using the array_sum function

<html>
<body>
<?php
$grades = array(45,80,23,100,3);
$total = array_sum($grades);
print $total;
?>
</body>
</html>