NYCPHP Meetup

NYPHP.org

[nycphp-talk] PHP and MSSQL 7

Nestor Florez nestorflorez at earthlink.net
Mon Dec 20 16:16:48 EST 2004


This is the biggest thing to remember 
a comma "," for MSSQL and 
a colon ":" for Mysql

:-)

-----Original Message-----
From: John Lacey <jlacey at att.net>
Sent: Dec 20, 2004 1:09 PM
To: NYPHP Talk <talk at lists.nyphp.org>
Subject: Re: [nycphp-talk] PHP and MSSQL 7

Nestor Florez wrote:
> Joe,
> 
> 
> This is what I use when accessing a Mssql DB
> 
> $hostname = "192.168.0.20,1433";
> $username = "user1";
> $password = "pwd1";
> $dbName   = "mydb";

Nestor,

Should a comma "," or a colon ":" go after the IP address?  I'm 
unfamiliar with that syntax so I thought I'd ask.  I assume the 1433 is 
the port number that the mssql server waits on ala MySQL port 3306.

thanks,
John

_______________________________________________
New York PHP Talk
Supporting AMP Technology (Apache/MySQL/PHP)
http://lists.nyphp.org/mailman/listinfo/talk
http://www.newyorkphp.org






More information about the talk mailing list