Ver Mensaje Individual
  #4 (permalink)  
Antiguo 23/01/2011, 08:43
Avatar de masterpuppet
masterpuppet
Software Craftsman
 
Fecha de Ingreso: enero-2008
Ubicación: Montevideo, Uruguay
Mensajes: 3.550
Antigüedad: 16 años, 3 meses
Puntos: 845
Respuesta: Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean g

Esta mal la query,(el count y la ","), deberia ser algo asi:

Código PHP:
Ver original
  1. $count_votos_1 = mysql_query("SELECT count(id) FROM game.votos WHERE answer='res_1' AND id='".$rs['id']."'");
  2. $votos_1 = mysql_fetch_array($count_votos_1);

Saludos.
__________________
http://es.phptherightway.com/
thats us riders :)