Exemplo n.º 1
0
function comprobarParticipantes($num)
{
    $pincho = new Pincho();
    $res = $pincho->listar();
    if (mysqli_num_rows($res) >= $num) {
        return true;
    } else {
        return false;
    }
}
Exemplo n.º 2
0
function listaPinchos()
{
    $pincho = new Pincho();
    return $pincho->listar();
}