mirror of
https://gitlab.com/harald.mueller/aktuelle.kurse.git
synced 2024-11-24 02:31:58 +01:00
15 lines
267 B
PHP
15 lines
267 B
PHP
|
|
||
|
|
||
|
<?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);
|
||
|
|
||
|
|
||
|
?>
|