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.
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
Post a Comment