Ver Mensaje Individual
  #16 (permalink)  
Antiguo 19/07/2006, 09:49
Avatar de spider_boy
spider_boy
 
Fecha de Ingreso: diciembre-2003
Ubicación: Chile
Mensajes: 1.855
Antigüedad: 20 años, 4 meses
Puntos: 89
Probé con esa consulta

Código PHP:
            $theQuery "INSERT INTO news ($campoString) VALUES ($valorString)";
            
$query mysql_query($theQuery) or die(mysql_error() . " Query: " $theQuery); 
y me da este error...

"Unknown column 'HOLA' in 'field list' Query: INSERT INTO news (`autor`,`titulo`,`noticia`,`publi_date`) VALUES (`HOLA`,`HOLA`,`HOLA`,`1153324040`)"

Conste que HOLA, es un valor que ingresé en un campo de texto... no un campo de la tabla....

Gracias :)