![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
05/03/2014, 12:18
|
![Avatar de andresgarciadev](http://static.forosdelweb.com/customavatars/avatar514483_1.gif) | | | Fecha de Ingreso: junio-2013
Mensajes: 218
Antigüedad: 11 años, 7 meses Puntos: 32 | |
Respuesta: restar dependiendo de si existe valor hmmm por q simplemente no le hacs un - (int)($valor) ? de tal forma si esta vacio te restaria solo 0 asi q no habria diferencia |