Page 1 of 1

Connecting to an SQL Server from OS X

Posted: Wed Mar 03, 2010 6:53 pm
by invisibled
Hey All,

I am trying to connect to a mssql 2000 server using php. I've basically found two ways to do this. PHP has a bunch of mssql_ functions and then their is ODBC.

I don't really understand ODBC, and when i try to use that nothing happens (no feedback, no errors nothing). When i use mssql_connect it tells me its an undefined function.

What way would be THE way to go? or does it not really matter? I have determined i can't get the odbc way to work because i don't have the driver for the mssql 2000 server. And i have determined that the mssql php functions are not installed.

Can't anybody help me out here? Just ask anything you need to know that will help. Also i am using Snow Lepard OS X.

Thanks!