Page 1 of 1

connect SQL Server problem

Posted: Tue Nov 03, 2009 11:50 pm
by me_not_4_php
hi all......

i m trying to connect with SQL Server Databas but it creating problem.

$con1 = mssql_connect("dbase","sa","");
mssql_select_db("real",$con1)or die("Couldn't connect to SQL Server on myServer");
dabse: is my host name
real: is my database name

what else should i do to solve my problem...plz reply sooon

thanks

Re: connect SQL Server problem

Posted: Wed Nov 04, 2009 12:02 am
by mischievous