Ver Mensaje Individual
  #3 (permalink)  
Antiguo 04/10/2014, 17:25
AM_Anti
 
Fecha de Ingreso: octubre-2014
Mensajes: 2
Antigüedad: 9 años, 7 meses
Puntos: 0
Respuesta: Problema con If

Te recomiendo hacer un swicheo

Por ej:
Código PHP:
switch(operacion)
{
case 
'+':
{
//...
}
case 
'-':
{
//...
}
case default:   
//...