Welcome Guest, Not a member yet? Register   Sign In
Add a single database entry?
#4

[eluser]jalalski[/eluser]
[quote author="Friedebarth" date="1231273049"]Well, I've got a controller which loads the database and a view that loads the controller, but somehow I don't unterstand the models (maybe cause there's no tutorial on them). Is there an example on them somewhere?[/quote]

Well, there are a few posts here on the forum about setting up and using the MVC framework (which is what CodeIgniter uses). But basically the URL that appears in your browser location bar will call a controller class. This class typically loads the model(s) that are needed, sets up the data and then calls the view, which displays the data.

You say you've looked at the video tutorials, but it may be worth viewing it again, particularly the one "Creating a Blog in 20 minutes" from Derek Jones, which covers all the basics that you need.


Messages In This Thread
Add a single database entry? - by El Forum - 01-06-2009, 06:10 AM
Add a single database entry? - by El Forum - 01-06-2009, 07:49 AM
Add a single database entry? - by El Forum - 01-06-2009, 08:17 AM
Add a single database entry? - by El Forum - 01-06-2009, 09:28 AM
Add a single database entry? - by El Forum - 01-06-2009, 01:13 PM
Add a single database entry? - by El Forum - 01-06-2009, 03:45 PM



Theme © iAndrew 2016 - Forum software by © MyBB