Selecting unique data from table

I've been searching for solution like this 2 - 3 days. I've tried array_unique(), mysql_fetch_assoc() none of them worked. It seems this functions only works with single array. But I've found a solution. Was to easy. All I had to do is change the way it selects from database using SELECT DISTINCT.

You can see examples from w3 schools by clicking here.

So now I can select unique data from table.

Today's Lesson is taught. If something wont work try to go ANOTHER WAY. 

Comments

Popular posts from this blog

Set up RAID on Dell Poweredge 2850

How to implement Blueimp with Laravel 5

Excel disable auto increment in formula by row and column