• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
db->insert error

#1
PHP Code:
        for($i 0$i 1000000;$i++){
            
$uid uniqid('rsv'true);

            
$this->db->set('uid',$uid);
            
$this->db->set('data','toto' $i);
            
$this->db->reset_query();
            if ( 
$this->db->insert('ddr') == false ){

                break;
            }
            
$this->db->reset_query();
        } 

Error message Fatal error: Allowed memory size of 134217728 bytes exhausted  in /system/database/DB_driver.php on line 703
Reply


Messages In This Thread
db->insert error - by DEVULDER - 01-19-2017, 04:03 AM
RE: db->insert error - by enlivenapp - 01-19-2017, 10:20 AM
RE: db->insert error - by DEVULDER - 02-02-2017, 02:03 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.