View Full Version : 2 rows in DB show only 1 in table

11-25-2011, 06:51 PM

I have my DB structure like this:

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!

11-25-2011, 07:02 PM
Is this any different than the problem you have in the thread listed here: http://www.codingforums.com/showthread.php?t=244684?

11-25-2011, 07:11 PM
No but I just wanted to clear what is the problem. Sorry for double posting. :)

11-25-2011, 07:38 PM
Thats okay, you can modify your original post in the other thread to change the title if you like.
We'll just keep going in the other thread.