Welcome Guest, Not a member yet? Register   Sign In
Developing Mulitdiminsional Array
#10

[eluser]yacman[/eluser]
'FALSE' is a string, and a non-empty one and this is a true statement.
FALSE is a boolean, and false which is what we want to pass to the function.

In addition, you need to encapsulate TBD and Vacant with single quotes. I see I messed that up in a earlier post.

Code:
$this->db->select('IFNULL(contender3.roster_name, TBD) AS contender3', 'FALSE');
//to
$this->db->select("IFNULL(contender3.roster_name, 'TBD') AS contender3", FALSE);


Messages In This Thread
Developing Mulitdiminsional Array - by El Forum - 09-13-2012, 10:33 AM
Developing Mulitdiminsional Array - by El Forum - 09-13-2012, 12:36 PM
Developing Mulitdiminsional Array - by El Forum - 09-13-2012, 02:29 PM
Developing Mulitdiminsional Array - by El Forum - 09-13-2012, 02:34 PM
Developing Mulitdiminsional Array - by El Forum - 09-13-2012, 06:28 PM
Developing Mulitdiminsional Array - by El Forum - 09-14-2012, 05:52 AM
Developing Mulitdiminsional Array - by El Forum - 09-14-2012, 08:22 AM
Developing Mulitdiminsional Array - by El Forum - 09-14-2012, 08:37 AM
Developing Mulitdiminsional Array - by El Forum - 09-14-2012, 09:11 AM
Developing Mulitdiminsional Array - by El Forum - 09-14-2012, 10:49 AM



Theme © iAndrew 2016 - Forum software by © MyBB