Created
February 10, 2020 22:59
-
-
Save parzibyte/17dcc58b39af29eca66802e70750be5c 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 | |
$busqueda = "Luis"; | |
$resultado = Alumno::join("asistencia", "asistencia.id_alumno", "=", "alumnos.id") | |
->select("alumnos.nombre", "asistencia.estado") | |
->where("alumnos.nombre", "=", $busqueda) | |
->get(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment