Welcome Guest, Not a member yet? Register   Sign In
having problems with session_start
#2

[eluser]TheFuzzy0ne[/eluser]
Welcome to the CodeIgniter forums.

Your select query needs to look like this:

Code:
$this->db->select('id, username');

The method only takes two arguments. The first one is the string representing the fields you want to select, and the second is to prevent escaping, for times you you need to do something like this:
Code:
$this->db->select('COUNT(*)', FALSE);


Messages In This Thread
having problems with session_start - by El Forum - 06-19-2009, 11:39 PM
having problems with session_start - by El Forum - 06-20-2009, 03:57 AM
having problems with session_start - by El Forum - 06-21-2009, 05:15 AM



Theme © iAndrew 2016 - Forum software by © MyBB