Ver Mensaje Individual
  #5 (permalink)  
Antiguo 10/07/2007, 09:18
Avatar de TolerantX
TolerantX
 
Fecha de Ingreso: marzo-2006
Ubicación: Guadalajara, México.
Mensajes: 408
Antigüedad: 18 años, 1 mes
Puntos: 10
Re: Variables en mysql_query()

Agregale or die(mysql_error()); a tu siguiente linea, como aquí para ver que error te manda.
Código PHP:
$leer_actual_escudomysql_query("SELECT c_oro, c_madera, c_piedra, c_metal FROM villa_ejercito INNER JOIN objeto ON villa_ejercito.$prefijo_escudo= objeto.id WHERE villa_ejercito.id= '$_COOKIE[juego_jugador_id]'") or die(mysql_error()); 
__________________
TolerantX
http://tolerantx.com
Linux User #385226