aktuelle.kurse/m133/4_Modulinhalte_und_Uebungen/00-Anwendungen-Beispiele-Uebungen/Datenbank/SQLSRV_Connect.php

15 lines
267 B
PHP
Raw Normal View History

2022-02-23 22:44:33 +01:00
<?php
//http://www.zend.com/zend/tut/odbc.php#Connect
echo "Connecting SQL Server:\n";
//connect to database
$connectionstring = odbc_connect("PHP","Mvo","vom1");
//disconnect from database
echo "Disconnecting SQL Server:";
odbc_close($connectionstring);
?>