Highscore in website.
#1

I would like include highscores (from player's score) in my Website.
But how exactly I can do that, so how I would get the Highscore from all players and then sort it out?
Maybe a Top 10. This all will be on an extra site. I have php acess and MySQL.
So maybe you see I really don't know how to start.
Reply
#2

MySQL plugin would be a start. Read the functions and hopefully you can follow it. If you need help with PHP, PM me.
Reply
#3

Is MySQL and PHP a difference here?
Reply
#4

MySQL stores tables, while PHP doesn't
Reply
#5

and what's the purpose of the tables?
Reply
#6

To store information, PHP can be used to gain information from the MySQL databases.
Reply
#7

why this is so complicated
I only can PAWN scripting.
Reply
#8

Through Pawn and the MySQL plugin you save the information. MySQL is basically a tool/program to create a database. MySQL isn't just a plugin it's actually a well known database tool throughout the internet.

PHP is a language which can be used to call forth the information from the database.
Reply
#9

Ok, so what I must do?
First a MySQL connection in the gamemode right?
And then how I can write all needed things to do that highscore in the mysql table?
Reply
#10

Quote:
Originally Posted by Ribber
View Post
Ok, so what I must do?
First a MySQL connection in the gamemode right?
And then how I can write all needed things to do that highscore in the mysql table?
Your accounts need to be saved to a MySQL database, Then the PHP file retrieves the information.

http://php.net/manual/en/book.mysql.php

Its VERY easy to understand.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)