It didn't seem to work, maybe if I give you a clearer picture you can help me to find my way through this:
Here is the database:
Database name: condolenceone
id | cond_id | cond_name | cond_address | cond_message | etc..
144| 2 | jsmith | Hartsville, SC | blah blah..... |
146| 3 | jdoe | Hartsville, SC | Blah.... |
144| 4 | abuddy | Columbia, SC | blah blahh..... |
154| 5 | rdude | Sumter, SC | blah.... |
144| 6 | jmehoff | Hartsville | words... |
id -> is the name of the deceased person that they are going to leave a message for.
cond_id -> is an auto-increment id to keep all of the condolences seperate.
I am trying to use the code above to count the number of condolences left for #144 and #146 and #154, etc.. and have them print into this portion of the code that when it works would look as such.
-Condolences-
LOCATION DECEASED CONDOLENCES ONLINE
Hartsville John Doe() 3
Columbia James Smith 2
LAs Vegas Randy Jackpot 0
New York Larry Henson 0
------Please select a deceased name to view condolences----
[submit button]
Hope this gives you some better info as to what I'm shooting for!
And thanks for helping on this - cmpennington