Ver Mensaje Individual
  #2 (permalink)  
Antiguo 04/07/2014, 09:05
matt_1985
 
Fecha de Ingreso: enero-2011
Ubicación: /root
Mensajes: 530
Antigüedad: 13 años, 3 meses
Puntos: 61
Respuesta: query usando active record CI

Código PHP:
Ver original
  1. $this->db->update('tabla', $data);
  2. $this->db->where('id');
  3. $this->db->select('id');
  4. $this->db->select('md5(md5(id))token,id');
  5. $query = $this->db->get('tabla');
  6. $this->db->where('token',$_POST['id']);