Welcome Guest, Not a member yet? Register   Sign In
MySQL Problem - Help (Unresolved)
#4

[eluser]markup2go[/eluser]
You would use it in your select. Here's an example of how I did it with a similar database setup:

Code:
$this->db->select("classes.*, GROUP_CONCAT(DISTINCT DATE_FORMAT(class_dates.date, '%m/%d/%Y') ORDER BY date ASC SEPARATOR ',') as dates", FALSE);

So you would do something like
Code:
$this->db->select("post.*, GROUP_CONCAT(DISTINCT tag.tag ORDER BY tag ASC SEPARATOR ',') as tag", FALSE);


Messages In This Thread
MySQL Problem - Help (Unresolved) - by El Forum - 10-21-2009, 02:30 PM
MySQL Problem - Help (Unresolved) - by El Forum - 10-21-2009, 02:59 PM
MySQL Problem - Help (Unresolved) - by El Forum - 10-21-2009, 03:21 PM
MySQL Problem - Help (Unresolved) - by El Forum - 10-21-2009, 04:30 PM



Theme © iAndrew 2016 - Forum software by © MyBB