Ver Mensaje Individual
  #9 (permalink)  
Antiguo 08/01/2010, 10:17
Avatar de djcd
djcd
 
Fecha de Ingreso: enero-2010
Ubicación: Localhost
Mensajes: 11
Antigüedad: 14 años, 3 meses
Puntos: 0
Respuesta: Problemas con buscador

Apenas vi el mensaje po primero que hice fue borrar ese }, pero el resultado fue muy distinto. Recibí dos mensaje que son:

Código HTML:
Warning: mysql_query() [function.mysql-query]: Access denied for user 'nobody'@'localhost' (using password: NO) in /home/............buscador.php on line 15
y
Código HTML:
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/..........buscador.php on line 15
o sea la línea
Código PHP:
$resultado=mysql_query($sql) or die (mysql_error()); 
Seguí tu consejo y revisé la sintaxis basándome en textos que tengo, no ví nada malo a mi vista, pero agradecería tu opinión.