php - how to connect ms sql server2008 in 64 bit windows7 -


this code below,

$servername = "mno-pc";  $connectioninfo = array( "database"=>"xyz", "uid"=>"sa", "pwd"=>"abc"); $conn = sqlsrv_connect( $servername, $connectioninfo);  if( $conn ) {    echo "connection established.<br />"; }else{    echo "connection not established.<br />";    die( print_r( sqlsrv_errors(), true)); } 

fatal error: call undefined function sqlsrv_connect() in h:\xampp\htdocs\sqlc\connect.php on line 4

but when run above error display.

how can connect in sql server 2008 in 64 bit windows 7.

please me.


Comments

Popular posts from this blog

.htaccess - First slash is removed after domain when entering a webpage in the browser -

Socket.connect doesn't throw exception in Android -

SPSS keyboard combination alters encoding -