• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Noob needs help

#1
[eluser]grejsimojs[/eluser]
Hello,

So I am very, very new to CodeIgniter and I'm still a bit confused about it.

I want to create a form, and when the form has been filled out, I'd like the information to be sent into my database!

How exactly do I make this happen?

PS. I've already created a controller and a view file.

#2
[eluser]ozy123[/eluser]
The form in the view submits data which can be received and handled by a controller (via the forms action). The controller can then load a model which has a function to write to the database.

If you read this here:

http://ellislab.com/codeigniter/user-gui...elper.html

and this here which gives you an example:

http://ellislab.com/codeigniter/user-gui...items.html

you should get the hang of it. Mind you I'm not quite sure I have the hang of it but my site is working so far! lol


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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