In the Active Record Class, which method is typically used to insert a new record into the database?

  • add()
  • create()
  • insert()
  • save()
The insert() method in the Active Record Class of CodeIgniter is used to insert a new record into the database. It allows you to specify the table and the data to be inserted. This method simplifies the process of adding data to the database using an object-oriented approach.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *