<html>
<body>
<h2>xxxxxx!</h2>
<?php
$score = array();
exec("D:\Users\Owner\Documents\a2 2>&1 D:\Users\Owner\Documents\212.wav D:\Users\Owner\Documents\StartUp\23sw1.wav", $score);
echo '<h3>Score </h3>';
echo '<br />';
echo 'xxxxxxx: ' . $score[0];
?>
</body>
</html>
The output of $score[0] is like 21 20 11 8 79 100 89. How can I split them? I am also interested in doing an average of it = ( 21 + 20+ 11+ 8 +79 +100+ 89)/7