Welcome Guest, Not a member yet? Register   Sign In
Description length
#8

[eluser]NateL[/eluser]
errr I'm getting an error when I try this code..
Code:
$this->db->select('id, animal_id, status, visible, LEFT(description,25)', FALSE)->from('available')->order_by("id", "asc");
$query = $this->db->get();

but it works fine when I just have
Code:
$this->db->select('id, animal_id, status, visible, description', FALSE)->from('available')->order_by("id", "asc");


Messages In This Thread
Description length - by El Forum - 02-23-2009, 04:17 PM
Description length - by El Forum - 02-23-2009, 04:20 PM
Description length - by El Forum - 02-23-2009, 04:21 PM
Description length - by El Forum - 02-23-2009, 04:35 PM
Description length - by El Forum - 02-23-2009, 04:55 PM
Description length - by El Forum - 02-23-2009, 05:42 PM
Description length - by El Forum - 02-23-2009, 06:25 PM
Description length - by El Forum - 02-23-2009, 06:49 PM
Description length - by El Forum - 02-23-2009, 06:50 PM
Description length - by El Forum - 02-23-2009, 07:02 PM
Description length - by El Forum - 02-23-2009, 07:04 PM
Description length - by El Forum - 02-23-2009, 07:18 PM
Description length - by El Forum - 02-23-2009, 07:28 PM
Description length - by El Forum - 02-23-2009, 07:34 PM
Description length - by El Forum - 02-23-2009, 07:59 PM
Description length - by El Forum - 02-23-2009, 08:05 PM



Theme © iAndrew 2016 - Forum software by © MyBB