CodeIgniter Forums
Noob needs help - Printable Version

+- CodeIgniter Forums (
+-- Forum: Archived Discussions (
+--- Forum: Archived Development & Programming (
+--- Thread: Noob needs help (/thread-53048.html)

Noob needs help - El Forum - 07-09-2012


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.

Noob needs help - El Forum - 07-09-2012

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:

and this here which gives you an example:

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