MS SQL Server 2000

Discussion in 'HTML / PHP / JavaScript / CSS' started by hangman, Jun 23, 2004.

  1. What is the connection string to connect to SQL Server 2000 using PHP?

    Will this work?
    if ($dbc = @mssql_connect('localhost', 'allergyadvi','XXXXXX')) {
    print '<p>Connection Successful</p>';
    .......

    Elementary, I know.
    Gracias'
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    localhost will definitely not work.

    quote:Originally posted by hangman

    What is the connection string to connect to SQL Server 2000 using PHP?

    Will this work?
    if ($dbc = @mssql_connect('localhost', 'allergyadvi','XXXXXX')) {
    print '<p>Connection Successful</p>';
    .......

    Elementary, I know.
    Gracias'
    </blockquote id="quote"></font id="quote">
     
  3. I am having the same issue. Did you find a resolution to this?
     

Share This Page