Jump to content
  • 0

Database problems showing wrong info


Zycron

Question


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.01
  • Content Count:  35
  • Reputation:   17
  • Joined:  04/25/18
  • Last Seen:  

So I have been scratching my head with this for a week. My database is showing results for things not there as my knowledge with SQL is not great I'll ask here as it's not a website problem. It's a problem with my querry I think here is what it's doing 

Flux Control Panel_ PvP Ranking - Google Chrome 5_15_2018 2_09_33 PM.png

Here are the only two entries in my DB

Mine_ragnarok_main_pvpladder_ - HeidiSQL 9.1.0.4867 5_15_2018 2_09_29 PM.png

Here is my code.

C__xampp_htdocs_unro_modules_ranking_pvpranking.php - Notepad++ 5_15_2018 2_09_01 PM.png

Thanks all. Any help is appreciated I have tried everything I know including changing sorting orders nothing gets it to read right.

Edited by Zycron
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.01
  • Content Count:  35
  • Reputation:   17
  • Joined:  04/25/18
  • Last Seen:  

Nevermind fixed it lol.  Bottom of file changed ORDER BY to GROUP BY works like a charm

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...