1
Good morning programmers, I have an application that has a report with several insertions, I need to know if all were executed successfully, I’m using the DB library:
DB::insert('insert into laudo_exemplo(numero, pergunta, procedimento, fk_laudo)
values (?,?,?,?)',
[$num_2_11_1, $pergunta_2_11_1, $procesimento2_11_1 , $lastid]
);
Does anyone know a method to check whether an insert like this has been successfully executed?
It’s really that simple, I didn’t think of it rsrsrs thank you very much for the help
– Michel Diniz