Welcome Guest, Not a member yet? Register   Sign In
Model/Controller Quick Question
#2

[eluser]kgill[/eluser]
Couple of quick thoughts since you didn't post any error messages, have you loaded the database class? CI's default configuration doesn't load it automatically. Second point, you're setting the data but you aren't actually calling the insert() method in active record. Go back and take another look at the user guide's active record stuff - there's enough examples there to get you where you want to go. And just a comment, dumping the post vars straight into the DB like that is generally not the best idea if you're concerned about security.

- K


Messages In This Thread
Model/Controller Quick Question - by El Forum - 07-02-2007, 04:21 PM
Model/Controller Quick Question - by El Forum - 07-02-2007, 04:49 PM
Model/Controller Quick Question - by El Forum - 07-02-2007, 05:28 PM
Model/Controller Quick Question - by El Forum - 07-03-2007, 02:18 AM
Model/Controller Quick Question - by El Forum - 07-03-2007, 11:29 AM



Theme © iAndrew 2016 - Forum software by © MyBB