Connecting to an SQL Server from OS X

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
invisibled
Forum Contributor
Posts: 112
Joined: Sun Apr 29, 2007 3:35 pm
Location: New Westminster

Connecting to an SQL Server from OS X

Post 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!
Post Reply