Jump to content

[SOLVED] Need help with controling deplicates in a loop.


forcom

Recommended Posts

Table info

 

id country state city

1  usa      ny    sample1

2  usa      pa    sample2

3  usa      nj      sample3

4  England no    sample 4

 

I want to display a unique name no deplicates

 

 

usa (3)

England (1)

 

can this be done. right now my code look something like this

 

usa

usa

usa

england

 

Need help

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.