View Single Post
  #1  
Old 12-07-2005, 06:58 AM
johny johny is offline
OSP Starters
 
Join Date: Dec 2005
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
johny is on a distinguished road
Default Counting Values in Array

Hi all
Using php with mysql. I have table_one and column_something that is enum type with the values "A", "B" and "C". I would like to count these values and then echo how many there are of each of these individual values from column_something. I'm confused about this. This is how I am going about it but can't finish.

It comes as::
Parse error: parse error, unexpected T_DNUMBER, expecting T_VARIABLE or '$' -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
  Webmaster Forums - View Single Post - Counting Values in Array
View Single Post
  #1  
Old 12-07-2005, 06:58 AM
johny johny is offline
OSP Starters
 
Join Date: Dec 2005
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
johny is on a distinguished road
Default Counting Values in Array

Hi all
Using php with mysql. I have table_one and column_something that is enum type with the values "A", "B" and "C". I would like to count these values and then echo how many there are of each of these individual values from column_something. I'm confused about this. This is how I am going about it but can't finish.

It comes as::
Parse error: parse error, unexpected T_DNUMBER, expecting T_VARIABLE or '$' -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote