When you need to create duplicate/clone of mysql record in codeigniter this article will be a very useful. This can be used when you need to create a copy of high details of record. Just send 3 parameters to do this.

 
Put the below function in your model.
 

  

Usage

  
Use the below comment box to ask your problems and submit your ideas & suggestions.