Cyber4Hacks
11-25-2011, 06:51 PM
Hello!
I have my DB structure like this:
http://i.imgur.com/VhKCJ.png
The yellow, 2 with the same tid and user are shown in the table on 1 row each of them. I want just to SUM the vote and display only 1 row with the tid and the user (which have 2 or more same tid and user in the db) in the php code(when the tid and user are same only).
Thank YOU in advance!
I have my DB structure like this:
http://i.imgur.com/VhKCJ.png
The yellow, 2 with the same tid and user are shown in the table on 1 row each of them. I want just to SUM the vote and display only 1 row with the tid and the user (which have 2 or more same tid and user in the db) in the php code(when the tid and user are same only).
Thank YOU in advance!