Ver Mensaje Individual
  #1 (permalink)  
Antiguo 06/09/2002, 04:00
Avatar de Wakkos
Wakkos
Colaborador
 
Fecha de Ingreso: octubre-2001
Ubicación: (cerca)
Mensajes: 1.795
Antigüedad: 22 años, 6 meses
Puntos: 59
error actualizando (o borrando? o de sintaxis?)

De nuevo yo y las putas sintaxis.

Veamos, tengo este query para actualizar:
Código:
 
$query_update = "UPDATE post SET mensaje = '".$texto."', categoria = '".$categoria."', email = '".$mail."', img1 = '".$img1."', img2 = '".$img2."', img3 = '".$img3."', img4 = '".$img4."', thumb1 = '".$thumb1."', thumb2 = '".$thumb2."', thumb3 = '".$thumb3."', thumb4 = '".$thumb4."', WHERE ID = " . $id . "";
	mysql_query($query_update, $link) or die ("could not fucking query");
Y por supuesto imprime el "could not fucking query"

Pero ahora que veo, subo un poco y es que hay una coma de más!!!

A ver, quito esa coma...
FUNCIONA!!
gracias de nuevo chicos!

<div style="color:#000;font-family:Verdana;font-size:10px;">Wakkos<br><a href="http://www.artreves.com/wakk/clickcount/clic.php3?url=www.artreves.com/wakk/index.php" style="font-size:9px;color:#e1470b;">follow the white rabbit</a></div>