Ver Mensaje Individual
  #3 (permalink)  
Antiguo 24/08/2009, 13:44
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años, 8 meses
Puntos: 2135
Respuesta: Una suma que resta

Exacto, si lo quieres hacer vía SQL tienes que hacer algo así:
Código SQL:
Ver original
  1. UPDATE `tabla` SET `numero`=`numero`+10 WHERE `id`=1
(ejemplo).

Saludos.