CodeIgniter Forums
Using Concat with IFNULL for my ActiveRecord Query. - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Using Concat with IFNULL for my ActiveRecord Query. (/showthread.php?tid=59636)



Using Concat with IFNULL for my ActiveRecord Query. - El Forum - 10-29-2013

[eluser]xtremer360[/eluser]
I'm simply trying to figure out what's wrong with this line in my query.

$this->db->select("IFNULL(CONCAT_WS('----', updator.first_name, updator.last_name) AS updated_by", FALSE);