PHP with MS SQL SERVER CONNECTIONS

  • Hi there.. I have a project in my school, and i'm gonna create a database driven website. I will use PHP 5.2 and MS SQL SERVER 2000. Can someone help me for a step by step tutorial for connecting php to MS SQL SERVER? and for example, my server is on a different computer, how can i link my page to connect to the MS SQL SERVER? Your reply is highly appreciated.. Thanks..

  • Since this is a school project, it is best if you do your initial research first. As you find the various answers to your initial questions and need clarification or assistance with a specific problem, then come back and ask your question.

  • You need a driver from PHP for reaching SQL Server. This should be found in PHP documentation.

    For the connection string, you'll need the server name and then user/password that allows you to connect to SQL Server. The SQL Server DBA will need to create that for you. If it's you, then read about "Creating logins" in the SQL Server documentation.

    It's not that we don't want to help, but we don't want to do the work for you. You should put forth the effort to attempt something. If it doesn't work, let us know what you did and we'll try to clue you in as to what might be wrong.

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply