Welcome Guest, Not a member yet? Register   Sign In
What is the best way to connect & manipulate MySQL database using CI?
#1

[eluser]Unknown[/eluser]
I am newbie to CI and confused to which method to use to connect the MySQL database and manipulate the SQL operations. Is it good to use Active Record concepts or some ORM plugins etc.? Please guide me. thanks
#2

[eluser]InsiteFX[/eluser]
To connect you need to edit the application/config/database.php file.

Then you can use either Active Record or an ORM.

InsiteFX
#3

[eluser]Unknown[/eluser]
thanks for the reply, where can i find some samples on ORM related.
#4

[eluser]WanWizard[/eluser]
There are serveral available. Search the forums for "Datamapper DMZ", "Doctrine" or "RapidDataMapper"...




Theme © iAndrew 2016 - Forum software by © MyBB