Ver Mensaje Individual
  #6 (permalink)  
Antiguo 07/03/2006, 14:28
Avatar de claudiovega
claudiovega
 
Fecha de Ingreso: octubre-2003
Ubicación: Puerto Montt
Mensajes: 3.667
Antigüedad: 20 años, 6 meses
Puntos: 11
este codigo:

if($op2=="1") $sql.=" fop2=now()";
$sql.="where ticketnumber='$ticketnumber'". mysql_error();

Si te fijas no queda un espacio en blanco entre now() y where, deja esto:


if($op2=="1") $sql.=" fop2=now() ";
$sql.="where ticketnumber='$ticketnumber'". mysql_error();