connect SQL Server problem

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
me_not_4_php
Forum Newbie
Posts: 2
Joined: Tue Nov 03, 2009 11:36 pm

connect SQL Server problem

Post 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
mischievous
Forum Commoner
Posts: 71
Joined: Sun Apr 19, 2009 8:59 pm

Re: connect SQL Server problem

Post by mischievous »

Post Reply