Ver Mensaje Individual
  #1 (permalink)  
Antiguo 16/10/2007, 18:14
emont
 
Fecha de Ingreso: enero-2002
Ubicación: Bogotá
Mensajes: 438
Antigüedad: 22 años, 3 meses
Puntos: 2
Mensaje Errores con PHP

Hola estoy teniendo estos errores:

Código HTML:
Warning:  mysql_query() [function.mysql-query]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\wamp\www\FC\QuienesSomos.php on line 9

Warning:  mysql_query() [function.mysql-query]: A link to the server could not be established in C:\wamp\www\FC\QuienesSomos.php on line 9

Warning:  Cannot modify header information - headers already sent by (output started at C:\wamp\www\FC\QuienesSomos.php:5) in C:\wamp\www\FC\QuienesSomos.php on line 10
Este es mi codigo

Código PHP:
<?php
      
if($_POST["qs_status"]=='ok'){
             
$datotxt $_POST["textarea"];
             echo(
"update SiteContent set Cuerpo='$datotxt' where Item='quienessomos'");
9:             mysql_query("update sitecontent set Cuerpo='$datotxt' where Item='quienessomos'");
10:             header("Location: QuienesSomos.php");
         }
      include(
"Conn.php");
      
$link=Conectarse();
      
$result=mysql_query("select * from SiteContent where Item='quienessomos'"$link); 
     
$row mysql_fetch_array($result);
     
?>
Como puedo solucionar este problema?
por que la verdad es que no veo nada que pueda generar estos errores.