Welcome Guest, Not a member yet? Register   Sign In
Basic Question for a newbie
#1

[eluser]deineMudder[/eluser]
Hello everyone,
i am totally new to CI.
I watched the video tutorials, which are impressive. doing the tutorials step by step on my own server seem to get me some problems already tho.
when i started to extend my controller with a db-query

Code:
$data['query'] = $this->db->get('user');
$this->load->view('login',$data);

it results in Fatal error: Call to a member function on a non-object .

now i havent made anything special at all, just following the video tutorial of "creating a blog in 20min". The scaffolding feature works nicely, tho if i try to connect on my own to the database it seems impossible to work. i was searching the forum already for over an hour to find a proper solution to my problem, but nothing seems to help.

linux server
php4


Messages In This Thread
Basic Question for a newbie - by El Forum - 06-23-2007, 03:03 AM
Basic Question for a newbie - by El Forum - 06-23-2007, 04:16 AM
Basic Question for a newbie - by El Forum - 06-23-2007, 04:21 AM
Basic Question for a newbie - by El Forum - 06-23-2007, 04:26 AM
Basic Question for a newbie - by El Forum - 06-23-2007, 04:40 AM
Basic Question for a newbie - by El Forum - 06-23-2007, 11:06 AM
Basic Question for a newbie - by El Forum - 07-01-2007, 07:31 PM



Theme © iAndrew 2016 - Forum software by © MyBB