Crew .NET |
|
<?php
echo 'Current PHP version: ' . phpversion();
//MSSQL Host IP
$db_host = '**.**.**.**';
//MSSQL Username
$db_user = 'dbuser';
//MSSQL Password
$db_pass = 'mypassword';
//MSSQL Database
$db_name = 'test';
$conn = mssql_connect($db_host,$db_user,$db_pass);
mssql_select_db($db_name,$conn);
?>
<?php //MSSQL Host IP $db_host = '**.**.**.**'; //MSSQL Username $db_user = 'dbuser'; //MSSQL Password $db_pass = 'mypassword'; //MSSQL Database $db_name = 'test'; $conn = mssql_connect($db_host,$db_user,$db_pass); mssql_select_db($db_name,$conn); ?>
Kan dit niet werken? |