Jump to content

pomoc Banlist


G4NG

Recommended Posts

Takže delam banlist pro jeden MC-portál a neviem urobiť načitanie z databázy :d potrebujem help či mi neporadíte je to v .html a bloodman sice slibuje help no nako si namna nenachádza čas že bloodmane :d ok tuna to je pls help ano googlil som ale nič som nenašiel

 

Code scriptu:

>JAVA BANLIST

</pre>
<table cellpadding="0" cellspacing="0" width="100%">Banlist by DBsbkaV
AdministratorDůvodNick/IpCas banu/unbanuTyp banuAdminDuvodHrac PERMA TIPMinecraftBanlistTest 1.1.2012 (24:7:10) Nick-BanDoffyGriefingBlack | 91.127.86.86 PERNA IP-BAN[.G.4N.G.]DBsbkaVSPAMLukáš Valenta | OMF.LOL.ROFL.PAWNO PERNA IP-BAN</table>
<br><br>Banlist Vyuzíva Minecraft Plugin E

 

Toto ma napadlo je to teoria ale nevim to v praxi:

SELECT * FROM `player_ban`, player WHERE player_ban.player_id = player.player_id

Link to comment
Share on other sites

<?php
$q = mysql_query("SELECT * FROM 'player_ban', 'player' WHERE player_ban.player_id = player.player_id");

while($lnk = mysql_fetch_object($q)) {

echo '' . $lnk->admin . '' . $lnk->reason . '' . $lnk->player . ' ' . $lnk->until . ' Nick-Ban';

}
?>

 

Myslim ze by to mohlo fungovat :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...