Skip to content

Instantly share code, notes, and snippets.

@parzibyte

parzibyte/parámetros.php

Last active Feb 11, 2020
Embed
What would you like to do?
<?php
$nombre = "Luis";
$edad = 22;
$alumnos = DB::select(
"SELECT nombre FROM alumnos WHERE nombre = ? AND edad = ?",
[
$nombre, $edad
]
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment