CodeIgniter Forums
migrating complete users data from PHP to Codeigniter - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: migrating complete users data from PHP to Codeigniter (/showthread.php?tid=63993)



migrating complete users data from PHP to Codeigniter - andyellen - 12-31-2015

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


RE: migrating complete users data from PHP to Codeigniter - includebeer - 01-01-2016

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.


RE: migrating complete users data from PHP to Codeigniter - skunkbad - 01-01-2016

Use CI's batch_insert after looping through your existing results from a query that gets everything from the table. Very simple.