Skip to content

Instantly share code, notes, and snippets.

@jlebrech
Created November 11, 2010 13:31
Show Gist options
  • Save jlebrech/672508 to your computer and use it in GitHub Desktop.
Save jlebrech/672508 to your computer and use it in GitHub Desktop.
<?php
$this->db->where("id",$contact->heardfrom_id);
$this->db->from("heardfrom");
$heard_res = $this->db->get()->row();
// Followed by
$this->db->set("status_id","3");
$this->db->where("contact.id",$contact->id);
$this->db->update("contacts");
// do i have to clear anything before i call it?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment