Call to undefined function mssql_connect

Results 1 to 3 of 3
  1. #1
    Novice john Ivanov1 is offline
    MemberRank
    Jul 2016 Join Date
    Пенза, ПLocation
    2Posts

    Support Call to undefined function mssql_connect

    Hi, community! I have a some problem with registration on site. I have a DB of DN and reg.php. Reg.php and server with db arleady stays on Dedicated Machine.

    Web Server - xampp
    DB - MSSQL 12


    And then i go on reg.php, put some login and password and press button of registration and then i have message like that Call to undefined function mssql_connect.

    I think php lib doesn't have any function of mssql. After trying of put dat lib and some magic moves it doesnt help.

    Anyone knows what happened? Cheers.



  2. #2
    Call to undefined function mssql_connect Future is offline
    LegendRank
    Dec 2011 Join Date
    2,265Posts

    Re: Call to undefined function mssql_connect

    From that error message, it looks like your PHP Server does not have the MSSQL extension. PHP doesn't support MSSQL by default so you need to install an extension depending on your PHP build iirc. Here's official documentation: PHP: Installation - Manual

  3. #3
    Novice john Ivanov1 is offline
    MemberRank
    Jul 2016 Join Date
    Пенза, ПLocation
    2Posts

    Re: Call to undefined function mssql_connect

    Thank u! It works!



Advertisement