Created
January 6, 2020 05:54
-
-
Save parzibyte/218ada1b62ff8699e1c87a906d262d90 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$alumno = new Alumno; | |
$alumno->nombre = $request->input("nombre"); | |
$alumno->apellido_paterno = $request->input("apellido_paterno"); | |
$alumno->apellido_materno = $request->input("apellido_materno"); | |
$alumno->calle = $request->input("calle"); | |
$alumno->numero = $request->input("numero"); | |
$alumno->localidad = $request->input("localidad"); | |
$alumno->cp = $request->input("cp"); | |
$alumno->save(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment