Hey guys been working on this for my site and I thought I would share it with the community.
It is a working Top Players page for MySql sources.
PLEASE DO NOT flame me for this I am NOT an expert in php or html I have really only just started, but a few people want this so please hit the thanks if it helps you.
I am very sure someone could clean up this code alot as it is very messy but I think for a noob in php its pretty good.
Okay first of we will need to change the database to match yours.
Search for "// DataBase Information".
Change everything to match your database in that section.
Next search for "// Variables".
You will see this under it //$LEAVE = $_POST['CHANGE'];
Basically do not change the parts that have $ next to them, just change everything in ['HERE']'; to match your database.
Just under that you will see
mysql_query("SELECT Name FROM cq_users");
Change Name and cq_users to match your database table.
Keep scrolling down and you will see stuff like this.
$name=mysql_result($result,$i,"[COLOR="RoyalBlue"]Name[/COLOR]");
change what is in blue (again) to match your database.
You will keep seeing stuff like this just make sure it matches your database.
Once you have finished save your work and view the page.
Any comments on how to clean up the code or any problems leave a comment.
EDIT > Quick note, this will support upto 10 players in each table, the tables will auto add/take away rows depending on the amount of players you have.
e.g If you have 8 players it will only show 8 rows on the table, if you have 3 players then it will only show 3 rows.
I only have 1 request... Please leave the Credits at the bottom of the page
Dude I believe 90 % of people won't add credits as well , You shouldn't release great thing as this one
and Yeah , Anthony Loves men..
It doesn't bother me too much if people don't leave the credits. Also I haven't released anything good in a while so I thought hey lets release this lmao.
It's not exactly hard to make tbh, but people are just far to lazy to google stuff and learn lol.
Saying that I read about 20 tuts on MySql and php to be able to make this
Also people will have to do a bit of work, this does not ORDER BY Name, level etc. It just takes the first 1,2,3,4,5 etc from the table.
I can add it by special request if anyone NEEDS it that badly and google can't find how to do it.
Kann mir bitte jemmand eine Hmachi HP erstellen """""SOS HELP"""" 09/15/2010 - Metin2 Private Server - 11 Replies SO wie der Titel schon sagt ich suche einen der mir per Teamviwer eine hp machen kann habe schon alles ausprobiert aber es klappt nie!!!!
PLS HELP...