Ver Mensaje Individual
  #13 (permalink)  
Antiguo 18/06/2009, 07:23
Avatar de gjx2
gjx2
 
Fecha de Ingreso: agosto-2008
Ubicación: R.D
Mensajes: 1.153
Antigüedad: 15 años, 8 meses
Puntos: 139
Respuesta: Enviar valor de variable en un campo HIDE de formulario y recogerla tras e

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);