Ver Mensaje Individual
  #41 (permalink)  
Antiguo 10/08/2011, 11:40
javirk
 
Fecha de Ingreso: octubre-2010
Mensajes: 77
Antigüedad: 13 años, 6 meses
Puntos: 4
Respuesta: Mostrar opciones de un dato haciendo click?

Ya está todo arreglado, en vez de poner en el if:
Código PHP:
if($dato mysql_fetch_array($registro)){

He puesto:
Código PHP:
$dato mysql_fetch_array($registro);
if(
$dato){

Y ya funciona perfecto, gracias.