I need to create a crud in PHP with the SQLSERVER database for a college job, connect the bank in PHP I got it, now execute no instructions, please help me, I am very difficult ..?
my code
<? php
$ server = "DESKTOP-RA9T588";
$ conectioninfo = array ("Database" => "Banca_de_Revista", "UID" => "Arthur", "PWD" => "inter190744");
$ result = sqlsrv_connect ($ server, $ conectioninfo);
$ bank = "Banca_de_Revista";
$ db = mssql_select_db ($ bank, $ conmssql);
if ($ result && $ db) {
echo "Congratulations !! The connection to the database has occurred normally!";
} else {
echo ("Could not connect.");
die (print_r (sqlsrv_errors (), true));
}
?>
problema que está aparecendo:
Fatal error: Call to undefined function mssql_select_db()
Thank you in advance.