Ver Mensaje Individual
  #3 (permalink)  
Antiguo 03/08/2012, 05:35
javigarciarodrhy
 
Fecha de Ingreso: agosto-2012
Mensajes: 15
Antigüedad: 11 años, 9 meses
Puntos: 0
Respuesta: Navegador no interpreta consulta mysql

Gracias por tu respuesta, te comento:
Si pongo:
Código:
					echo '<th width="500"><img src="$row["nombre"]" width="500" height="250"/><br />$row["puntos"] puntos de $row["votos"] votos.</th>';
En pantalla me sale $row["puntos"]

Y si lo cambio a esto:
Código:
					echo "<th width='500'><img src='$row['nombre']' width='500' height='250'/><br />$row['puntos'] puntos de $row['votos'] votos.</th>";
En pantalla me sale: Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in ...

Pfff....