It's not very hard, you have just to stock the stats of player in database MySQL
Example:
local deads = getElementData(player, "deads")
local wins = getElementData(player, "wins")
local player = getPlayerName(player)
callRemote("http://www.yourwebsite.com/MTA/test.php", result, deads, wins, player)
And you get these informations in PHP file
$table = mta::getInput();
$deads= $table[0];
$wins = $table[1];
$player = $table[2];
// Send infos in MySQL
$base = mysql_connect ('host', 'login', 'password');
mysql_select_db ('database', $base);
$sql = 'INSERT INTO player_stats VALUES("$player", "'.$deads.'", "'.$wins.'") ';
mysql_query($sql);
mysql_close();
// Return true if is added
mta::doReturn(true);
Now, in another file, you can get the informations only using PHP & MySQL
Example, you have a file with stats of every players have played in your server
<?php
$base = mysql_connect ('host', 'login', 'password');
mysql_select_db ('database', $base);
$sql = 'SELECT * FROM player_stats';
$req = mysql_query($sql);
while($data = mysql_fetch_array($req)){
$playername = $data['name'];
$deads = $data['deads'];
$wins = $data['wins'];
echo "<b>$playername</b><br />
Wins: $wins<br />
Deads: $deads<br />";
}
mysql_close();
?>
K so if i want to fill an html file with that how ? im a noob at PHP...