Welcome Guest, Not a member yet? Register   Sign In
submit multiple rows in database
#2

(This post was last modified: 08-26-2018, 10:13 AM by Wouter60.)

Try this:
PHP Code:
if ($id == 0) {
    
//return $this->db->insert_batch('servicos', $data);
    
echo '<pre>';
    
print_r($data);
    echo 
'</pre>';
    die();


Check if the data array contains any values that can't be inserted into your table.
Reply


Messages In This Thread
RE: submit multiple rows in database - by Wouter60 - 08-26-2018, 05:33 AM



Theme © iAndrew 2016 - Forum software by © MyBB