<?php
function connection(){
$host = "localhost";
$user = "SANMARINO";
$pass = "sanmarino2021*";
$bd = "sistemas";
/* $connect=mysqli_connect($host,$user, $pass);
mysqli_select_db($connect, $bd);
*/
$connection = new mysqli($host, $user, $pass, $bd);
/* return connect; */
return $connection;
}
?>