$result=mysql_query("UPDATE datos SET titulo=$titulo, texto=$texto, imagen=$imagen WHERE id=$id",$conexion) or die( mysql_error() );