Simple question i guess... need help using the db class! |
[eluser]Jason van der Zeeuw[/eluser]
hey all... I've got this function: Code: function get_employees($tablename) I have the database class loaded automatically in: Code: $autoload['libraries'] = array('database'); I did this after seeing this tutorial: http://net.tutsplus.com/articles/news/co...tch-day-2/ but still I get some errors: Message: Undefined property: CI_DB_mysql_result::$result Message: Invalid argument supplied for foreach() Message: Undefined variable: resultarray While I do exactly the same as in the tutorial... please can anyone help me :$? |
Messages In This Thread |
Simple question i guess... need help using the db class! - by El Forum - 05-03-2012, 05:26 AM
Simple question i guess... need help using the db class! - by El Forum - 05-03-2012, 06:38 AM
Simple question i guess... need help using the db class! - by El Forum - 05-03-2012, 06:52 AM
Simple question i guess... need help using the db class! - by El Forum - 05-03-2012, 09:56 AM
|