[eluser]Chris Newton[/eluser]
You could also use:
Code:
$this->link_position_t=$this->input->post('link_position_t');
instead of:
if ( array_key_exists('link_position_t', $_POST) ) { $this->link_position_t = '1'; } else { $this->link_position_t = '0'; }
$this->input->post('variablename') returns FALSE if a variable is not set, or the value if it is.
Also, I would suggest making a new object for your update data rather than using $this so you don't inadvertently send variables you don't need to. You could easily use something like $data or $content