1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Php Ms-sql

Discussion in 'PHP' started by vijaykoul, Jun 6, 2005.

  1. #1
    HI everybody,

    Can anybody guide me in connecting PHP with MSSQL.
    With MySQL already connect.
    SEMrush
    Please help.

    Thanks in advance

    Vijay
     
    vijaykoul, Jun 6, 2005 IP
    SEMrush
  2. THT

    THT Peon

    Messages:
    686
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #2
    have a look at www.php.net and especially mssql_connect()
     
    THT, Jun 7, 2005 IP
  3. nevetS

    nevetS Evolving Dragon

    Messages:
    2,544
    Likes Received:
    211
    Best Answers:
    0
    Trophy Points:
    135
    #3
    You have to enable MS SQL support in your php.ini file. You can check <? phpinfo() ?> to see what's enabled on your server. The MS-SQL functions are similar to mysql, so translating shouldn't be too difficult if you have written the code yourself. Like the post above states, check www.php.net - in the functions list, all the MS SQL functions begin with... you guessed it... mssql

    http://us2.php.net/manual/en/ref.mssql.php
     
    nevetS, Jun 7, 2005 IP
  4. ecomic

    ecomic Guest

    Messages:
    21
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0