...

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



Cyber4Hacks
11-25-2011, 07: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!

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

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

Fou-Lu
11-25-2011, 08: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.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum