Welcome Guest, Not a member yet? Register   Sign In
Select All from datebase
#2

[eluser]Oscar Dias[/eluser]
The select should contain only one string with the values. Should be like this:
Code:
$q = $this
            ->db
            ->select('article_title, article_description, article_keywords, article_content')
            ->where('id', $id)
            ->limit(1)
            ->get('article');
The official reference: http://ellislab.com/codeigniter/user-gui...tml#select


Messages In This Thread
Select All from datebase - by El Forum - 06-02-2012, 03:47 AM
Select All from datebase - by El Forum - 06-02-2012, 06:28 AM



Theme © iAndrew 2016 - Forum software by © MyBB