[need help]to convert to codeigniter

#1
[eluser]myrna[/eluser]
I found it difficult to convert this php code to codeigniter. Anyone can help me please. :question:

#2
[eluser]erik.brannstrom[/eluser]
No one is going to do this for you, but I'll give you a few pointers.

Move all the database stuff to methods in a model file, preferably using the database class. Once that refactoring is done you are left with the view. Now just create a controller that fetches data via your model and than passes it on to your view file.

It's all thoroughly described in the manual, so please read it. If you've got any more specific questions, feel free to post them here at the forum.

#3
[eluser]WanWizard[/eluser]
[quote author="erik.brannstrom" date="1277999218"]No one is going to do this for you,...[/quote]
Well... If the price is right... :lol:

#4
[eluser]erik.brannstrom[/eluser]
Well, yes. Wink


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.