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

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -