[eluser]Bart v B[/eluser]
[quote author="Rodrigo Berlinck" date="1270499562"]hi,
$this->db->where('id'); ?[/quote]
Does it come from an url?
Then you need to use the uri class
Then it should be something like:
Code:
<?php
$this->db->where('id',$this->uri->segment(3) );
?>
You don't need it to do it from the controller, i prefer to do it in my model.