![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
27/06/2009, 14:32
|
![Avatar de acoevil](http://static.forosdelweb.com/customavatars/avatar251032_4.gif) | | | Fecha de Ingreso: julio-2008 Ubicación: localhost/colombia/sevillaValle.php
Mensajes: 1.123
Antigüedad: 16 años, 6 meses Puntos: 32 | |
Respuesta: trabajar con variables dimensionadas (arreglo) $valores = array(5, 10, 15) ;
$suma = $valores[0] + $valores[1];
echo $suma //Imprime 15 resultado de sumas 5 y 10 |