NYCPHP Meetup

NYPHP.org

[nycphp-talk] PHP and MSSQL 7

John Lacey jlacey at att.net
Mon Dec 20 16:26:34 EST 2004


thanks, I'll file that one away, although I'll probably have to make 
room in my head for more facts by getting rid of either a Supreme's song 
or Elvis' All Shook Up

:)


Nestor Florez wrote:
> 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
> 
> 
> 
> _______________________________________________
> 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