Jump to content

MySQL Count


edwardoit

Recommended Posts

 

Guys question:

How can i count this...

example:..

 

colA ColB

dog dog

cat cat

dog dog

cat dog

cat cat

dog dog

 

 

colA:

dog: 3

cat: 3

 

colB

dog:4

cat:2

 

can this be done using the mysql query alone? or with use of php?

ur help is greatly appreciated guys... Thank u so much!

Link to comment
https://forums.phpfreaks.com/topic/91618-mysql-count/
Share on other sites

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.