How to display data from a database table?

Discussion in 'PHP' started by Divvy, Jul 6, 2021.

  1. #1
    Hello guys,

    I have a wordpress site with the posts like this:https://monosnap.com/file/GndtN3hVojzMMITo5NT3exS7iXypvv

    I have 250 posts like this and I need to update all of them manually.

    Can someone help me displaying automatically using the database?https://monosnap.com/file/c5WJKvYuZNHWn8y4dTGnQYOsYrSIdp

    I need to display a top 10 like the image above using the highest "level_boost" with the sum of the "health_boost" , "damage_boost" and "speed_boost".

    Example:
    User - nível 26 (0/0/0)

    Database:
    user_id - level_boost (health_boost/damage_boost /speed_boost)

    Notes:- dino_id is the post_id- level 25 (5/5/5) is higher than level 30 (0/0/0) because has 40 instead of 30.

    Thank you in advance :)
     
    Divvy, Jul 6, 2021 IP
  2. sarahk

    sarahk iTamer Staff

    Messages:
    28,818
    Likes Received:
    4,536
    Best Answers:
    123
    Trophy Points:
    665
    #2
    So you have a database with tables capturing the status of players and you need to show the players with the greatest increase?
    Are you wanting to edit the post or create a new one?
    It looks like tabular data that should be displayed in a table!
     
    sarahk, Jul 6, 2021 IP