Ver Mensaje Individual
  #2 (permalink)  
Antiguo 30/11/2008, 10:30
Avatar de Ronruby
Ronruby
 
Fecha de Ingreso: julio-2008
Ubicación: 18°30'N, 69°59'W
Mensajes: 4.879
Antigüedad: 15 años, 9 meses
Puntos: 416
Respuesta: Problema de error en código php

Pues el problema esta aqui:

Código PHP:
//selects desired table 
   
$chars=mysql_query("SELECT * FROM characters"); 

//tells how much rows are there (will come helpfull with while loops) 
   
$rows =mysql_numrows($characters); 
Defines la variable como $chars, pero en la funcion mysql_numrows usas $characters.