ODBC extension for PHP?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Lone Shepherd
    Junior Member
    • Jun 2004
    • 5

    #1

    ODBC extension for PHP?

    As far as I can tell, ODBC isn't installed for PHP. I see that PDO is, which is good.

    Is there a specific reason ODBC is not installed?
  • AndrewT
    Administrator
    • Mar 2004
    • 3655

    #2
    Correct. ODBC support is not available. I believe you're the first of our customers to have even expressed interest in PHP's support of this. It just isn't very popular.

    Comment

    • Lone Shepherd
      Junior Member
      • Jun 2004
      • 5

      #3
      Thanks Andrew. In the past I've used perl for interacting with sql databases, and am just now researching what's available for php. So I'm not really sure about the popularity, advantages, disadvantages of the various options.

      PDO seems like it will work just fine, though.

      Comment

      • ZYV
        Senior Member
        • Sep 2005
        • 315

        #4
        ODBC is mostly used as a common interface for SQL-like data sources for which there's no native PDO bindings provided. So the fact is that you just don't need it at all. Use mySQL PDO bindings instead.

        Comment

        Working...