set_rut($_POST['rut']); $alumno->set_nombre($_POST['nombre']); if($alumno->save()) header("location: /alumnos/index.php"); ?>