Does anyone know the script I can use to connect to a ms sql server.
I tried this basic code, and this did not work.
<?php
<?php
$dsn ="dsn";
$uid ="uid";
$pwd ="pwd";
$network="network";
$connect = odbc_connect($dsn,$uid,$pwd);
echo "This is a test.";
?>
I basically wrote this script just to see if a connection is established. I also tried "mssql_connect" that did not seem to work either.
my boss, gave me information for variable "$network" but I'm unsure how this will be involved in the data connection.
-Mike
I tried this basic code, and this did not work.
<?php
<?php
$dsn ="dsn";
$uid ="uid";
$pwd ="pwd";
$network="network";
$connect = odbc_connect($dsn,$uid,$pwd);
echo "This is a test.";
?>
I basically wrote this script just to see if a connection is established. I also tried "mssql_connect" that did not seem to work either.
my boss, gave me information for variable "$network" but I'm unsure how this will be involved in the data connection.
-Mike