Jump to content

Contador de personajes


Serex
 Share

Recommended Posts

Bueno este script muestra los personajes totales que hay en el servidor:

Recuerda que para que funcione este script debes tener el config.php:

Debes iniciar sesión para ver el contenido del enlace en esta publicación.

 

Bueno pues este es el script:

 

include("config.php");
mysql_select_db("player");
$seleccion = "SELECT * from player";
$jugadorquery = mysql_query($seleccion);
$jugadores = mysql_num_rows($jugadorquery);
echo "Personajes : $jugadores";
Link to comment
Share on other sites

  • 4 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...