File "connection.php"

Full Path: C:/wamp64/www/loteo1/connection.php
File size: 354 bytes
MIME-type: text/x-php
Charset: utf-8

<?php
function connection(){
    $host = "localhost";
    $user = "SANMARINO";
    $pass = "sanmarino2021*";
    $bd = "loteo";

    /* $connect=mysqli_connect($host,$user, $pass);

    mysqli_select_db($connect, $bd);

     */
    $connection = new mysqli($host, $user, $pass, $bd);
    /* return connect; */
    return $connection;
}
?>