i am a newbee, i have a problem connecting to mssql. a portion of the code is :<?php
function doit() {
# set variables global so this function can see them
global $svr, $uid, $pwd, $db, $tbl, $SQL;
$cn = msql_connect($svr, $uid, $pwd) or die("$svr won't talk to me!");
msql_select_db($db);
when this is executed the follwing error occured.
Fatal error: Call to undefined function: msql_connect() in c:\www\sample.php on line 5
please help me...
function doit() {
# set variables global so this function can see them
global $svr, $uid, $pwd, $db, $tbl, $SQL;
$cn = msql_connect($svr, $uid, $pwd) or die("$svr won't talk to me!");
msql_select_db($db);
when this is executed the follwing error occured.
Fatal error: Call to undefined function: msql_connect() in c:\www\sample.php on line 5
please help me...