Ver Mensaje Individual
  #3 (permalink)  
Antiguo 04/03/2009, 08:49
wyrko
 
Fecha de Ingreso: noviembre-2008
Mensajes: 29
Antigüedad: 16 años, 4 meses
Puntos: 0
Respuesta: Error en codigo

He modificado un poco el código del onlineplayers.php y me queda así:

Código:
<?php
include("Connection.php");
//Do not remove this header
//This script package is distributed by kadar of L2j.sourceforge
//You are free to distribute this package as long as the headers stay intact. ?>
<?php ($_GET['server']) ?>
<table width="579" border="0" bgcolor="#2E6177" align="center" style="margin-bottom:15px;">
<tr bgcolor="#084360"><td colspan="6" align="center"><font color="#7C94B0"><b><?php echo $server_info['name']; ?></b></font></td></tr>
<tr bgcolor="#084360"><td width="23" align="center"><font color="#7C94B0"><b>#</b></font></td>
<td width="122" align="center"><font color="#7C94B0"><b>Name</b></font></td>
<td width="89" align="center"><font color="#7C94B0"><b>Race</b></font></td>
<td width="134" align="center"><font color="#7C94B0"><b>Class</b></font></td><td width="22" align="center"><font color="#7C94B0"><b>Lvl</b></font></td>
<td width="163" align="center"><font color="#7C94B0"><b>Location </b></font></td>
</tr>
<tr bgcolor="#00192C"><td align="center"><?php echo $res['number']; ?></td>
<td><?php echo $res['name']; ?></td><td><?php echo $res["race"]; ?></td><td><?php echo $res["class"]; ?></td><td align="center"><?php echo $res['level']; ?></td>
<td><?php echo $res['pos']; ?></td></tr>
<?php 
echo $res['number']; echo '<tr bgcolor="#00192C"><td colspan="6" align="center"><b>Not there is Online Players</b></td></tr>';
?>
</table>

			</td>
			</tr>
	  </table>
Muestra online: 94.23.9.151/info/onlineplayers.php "añadir lo de http delante"

Como hago para que los datos de la base de datos se me muestren?

Última edición por wyrko; 04/03/2009 a las 08:56