Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created January 6, 2020 05:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/218ada1b62ff8699e1c87a906d262d90 to your computer and use it in GitHub Desktop.
Save parzibyte/218ada1b62ff8699e1c87a906d262d90 to your computer and use it in GitHub Desktop.
<?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