Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Seeking PHP with M$ SQL Server book 1

Status
Not open for further replies.

MKVAB

Programmer
Joined
Dec 2, 2003
Messages
86
Location
US
Anybody know of a text that is specifically written for PHP with SQL Server? Everything I find is for MySQL. Slim pickens when it comes to PHP references for M$ SQL Server.

I'm soliciting ideas, book references and useful sites!!!

Thanks!
-MK
 
Sorry about that... running PHP on a linux box.
 
I was able to do it using the instructions in the PHP online manual ( and documentation at the FreeTDS site:[ul][li]Install FreeTDS[/li][li]compile PHP to use the FreeTDS library through its mssql_*() family of functions[/li][li]configure your TDS settings in /etc/freetds.conf[/li][ul]

From there, it's pretty much the same operations as any other database activity in PHP: connect to the database, pass a query, fetch the return.

Want the best answers? Ask the best questions: TANSTAAFL!!
 
Thanks sleipnir. Yeah, I've got Apache, FreeTDS and PHP installed and humming along nicely. Also, I've been able to establish a relationship to the DB. I am just having a hard time finding references on how to perform some database functions (displaying the results from a stored procedure mainly).

The site you listed is good...has the mssql commands all in one place, that will be very useful. Thank you.

I wish there was a book out there written specifically for MS SQL with PHP though. I'm still looking around, hopefully I'll stumble on one.

Thanks again.
-mk
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top