CodeIgniter Forums

Full Version: migrating complete users data from PHP to Codeigniter
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi I had PHP eCommerce website I have rebuild my website on Codeiginiter. Now I want to transfer my users data, such as their account/payments and also website page links to codeiginiter website. But I don't know how do I do this? i searched on google but I haven't got any results. Can anybody share the guideline? I can do the rest
You didn't find anything on Google because there's no magical way to do this. You'll need to write a script to import your old data in your new database.
Use CI's batch_insert after looping through your existing results from a query that gets everything from the table. Very simple.