Connecting Problem with sql Server
Posted: Tue Nov 03, 2009 11:42 pm
hello...
i m working in php and trying to connect with SQL Server database.but its creating problem
my syntax is ....
$con1 = mssql_connect("dbase","sa","");
mssql_select_db("exams",$con1)or die("Couldn't connect to SQL Server on myServer");
dbase: is my host name..
exams: is my dbname
what else should i do with that....please reply me as sooon as possible i will be very thankful.
regards,,
honey
i m working in php and trying to connect with SQL Server database.but its creating problem
my syntax is ....
$con1 = mssql_connect("dbase","sa","");
mssql_select_db("exams",$con1)or die("Couldn't connect to SQL Server on myServer");
dbase: is my host name..
exams: is my dbname
what else should i do with that....please reply me as sooon as possible i will be very thankful.
regards,,
honey