Ver original$val=0;for( $_POST[texto] as text){$val+=text;}echo "promedio"+ ( $val/count($_POST[texto]));