[eluser]PaulBY[/eluser]
The problem appears when I try to load one view inside the another.
If I load one view there're no problems.
Controller:
Code:
public function quote() {
$this->db->insert('captcha',array('captcha_id'=>'','captcha_time'=>'100500','ip_address'=>'192.168.1.1','word'=>'word'));
$this->load->view('site-request');
}
View site-request.php:
Code:
<html><body>loreum ipsum
But if I change site-reguest.php to
Code:
<?php $this->load->view('site_before_footer'); ?>
, controllers generates 5 rows in the database instead of 1
site_before_footer.php is too