$sql = "UPDATE noves SET titulo='".$titulo."', contenido='".$contenido."' WHERE titulo='".$titulo."'";