Aktualnie jest teraz np.
Nick
Nick
Nick
Nick
A chcę zrobić np.
Nick, Nick, Nick, Nick - tak jak jest na zdjęciu
<html> <head> <title>SA:MP Server Query Script</title> <style type="text/css"> body { font-family: verdana; font-size: 11px; } td { font-family: verdana; font-size: 11px; } </style> </head> <body bgcolor="#1B304B" text="#EEEEEE"> <br><center><b><font color="#ffffff">SA:MP Server Query Script</font></b></center><br><br> <table width="350" bgcolor="#000000" cellpadding="4" cellspacing="1" align="center"> <? $ip = '87.230.56.82'; $port = 6969; if (!$fp) { } else { $packet = 'SAMP'; $packet .= chr($port & 0xFF); $packet .= chr($port >> 8 & 0xFF); echo ' <tr><td bgcolor="#2B5486" colspan="2" align="center"><b>' . $hostname . '</b></td></tr>'."\n"; echo ' <tr><td bgcolor="#2B5486" width="100">Players: </td><td bgcolor="#2B5486" width="250">' . $plr_count . ' / ' . $max_plrs . '</td></tr>'."\n"; echo ' <tr><td bgcolor="#2B5486">GameMode: </td><td bgcolor="#2B5486">' . $gamemode . '</td></tr>'."\n"; echo ' <tr><td bgcolor="#2B5486">MapName: </td><td bgcolor="#2B5486">' . $mapname . '</td></tr>'."\n"; if ($is_passworded) { } else { } if ($plr_count > 0) { echo ' <tr><td bgcolor="#2B5486" align="center" width="250"><b>Player</b></td><td bgcolor="#2B5486" align="center" width="100"><b>Score</b></td></tr>'."\n"; for ($i=0; $i<$plr_count; $i++) { echo ' <tr><td bgcolor="#2B5486">' . $plrname . '</td><td bgcolor="#2B5486">' . $score . '</td></tr>'."\n"; } } } ?> </table><br> <center><small>Š 2006 SA:MP Team. All rights reserved.</small></center> </body> </html>
Kod z forum..