meme50 can you explain what you mean? Basically we're all windows pc users, and so most of us use the odbc connection in windows to setup a datasource, then reference that in php.
However based on the version of php/sqlserver you have different ways of sending/receiving data to the sql server.
In php there were two ways to work with sql server there was the pdo style of syntax, the odbc, the mssql one.
And each has their strengths and limitations, and ease of use.
When you describe your needs for a new php script, you need to be a bit more detailed, because I can't always understand exactly what you want.
Imagine it like designing a car that you want to buy.
When you fail to give all the details, then you may not get what you want.
so the more details you give me, the more accurate I can, in meeting your needs.