Ver Mensaje Individual
  #14 (permalink)  
Antiguo 18/06/2009, 07:31
arkfantasy
 
Fecha de Ingreso: junio-2009
Mensajes: 11
Antigüedad: 14 años, 10 meses
Puntos: 0
Respuesta: Enviar valor de variable en un campo HIDE de formulario y recogerla tras e

Cita:
Iniciado por gjx2 Ver Mensaje
Aqui esta tu problema

Código PHP:
 <?php 
    
include("bd.php"); 
    
$link=Conectarse(); 
    
$id=$_GET['nombre_juego']; 
    
$result=mysql_query("SELECT * FROM  games where plataforma='PS3'",$link); 
    
$fila mysql_fetch_array($result); 
    
mysql_close($link);         
    
?>
En la consulta no especificas el juego que estas seleccionando
Código:
 

$result=mysql_query("SELECT * FROM  games where plataforma='PS3' and Nombre_del_juego = $id",$link);


ME acabas de salvar la vida

Muchísimas gracias por todo



Gracias a tí creo que ya no tendré más problemas ^^