Using PHP with MS SQL

Neha Kochhar

Neha Kochhar

@neha-kochhar-6BG7H3 Oct 26, 2024
Hi .its Urgent .Please tell me how to configure MS SQL with PHP.I need to use MS SQL only. but do'nt know how? Please give me link for ebooks for PHP with MS SQL or simple PHP

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • Kaustubh Katdare

    Kaustubh Katdare

    @thebigk Sep 29, 2009

    Refer to tutorial here -> #-Link-Snipped-#
    Neha, could you please tell us what problems you are facing? There are several functions in PHP that let you manipulate MySQL databases the way you want. For example, you can use following function to connect to a mySQL database -

    mysql_connect([$server [, $username [, $password [, $new_link [, $flags]]]]])
  • Neha Kochhar

    Neha Kochhar

    @neha-kochhar-6BG7H3 Sep 29, 2009

    I am talking about Microsoft SQL(MS SQL) and not My sql
  • Neha Kochhar

    Neha Kochhar

    @neha-kochhar-6BG7H3 Sep 29, 2009

    how I should configure my installed MS SQL 2005 to work with PHP?
  • sookie

    sookie

    @sookie-T06sFW Sep 29, 2009

    Hi Neha,

    As similar thing already mentioned , did you try following [it works for php4 and 5 ]. It opens MS SQL server connection.

    resource mssql_connect ([ string $servername [, string $username [, string $password [, bool $new_link ]]]] )
    Let's know if it works. 😀

    Thanks.
  • Kaustubh Katdare

    Kaustubh Katdare

    @thebigk Sep 29, 2009

    Woops! My apologies. I was half asleep when I read the post.

    Thanks to Sookie for response.