Welcome Guest, Not a member yet? Register   Sign In
Confused on For Each & Displaying Correct Results
#2

[eluser]niki_mihaylov[/eluser]
Hmm im not 100% sure that i understood your idea, but if you want to get unique leads by marketer you can use
GROUP by in your query. Like so:

Code:
$query = $this->db->query(“SELECT * FROM lead_details WHERE lead_type = ” . $lead_type .” GROUP BY marketer_id ORDER BY lead_id DESC”);


Messages In This Thread
Confused on For Each & Displaying Correct Results - by El Forum - 06-14-2013, 11:03 AM
Confused on For Each & Displaying Correct Results - by El Forum - 06-28-2013, 12:59 PM



Theme © iAndrew 2016 - Forum software by © MyBB