Which is the best PHP class to work with MySQL?

Discussion in 'PHP' started by virtualmisc, Oct 3, 2009.

  1. #1
    Hello friends
    I want to know which is the PHP class to work with MySQL.
    Thanks
     
    virtualmisc, Oct 3, 2009 IP
  2. ansi

    ansi Well-Known Member

    Messages:
    1,483
    Likes Received:
    65
    Best Answers:
    0
    Trophy Points:
    100
    #2
    ansi, Oct 3, 2009 IP
  3. akramabs

    akramabs Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    use PDO ( PHP Data Object ) driver or mysqli.. good for security issues (i.e. sql injection) and much more..
     
    akramabs, Oct 3, 2009 IP
  4. szalinski

    szalinski Peon

    Messages:
    341
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #4
    szalinski, Oct 5, 2009 IP
  5. phpdoctor22

    phpdoctor22 Peon

    Messages:
    96
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    This one is very basic and easy to use micahcarrick. com/04-19-2005/php-mysql-database-class.html
     
    phpdoctor22, Oct 5, 2009 IP
  6. andrewtoan

    andrewtoan Guest

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    You should use PDO (PHP Data Object). It has prepared statemen which can prevent SQL Injection
    Very easy to use.
     
    andrewtoan, Oct 8, 2009 IP
  7. premiumscripts

    premiumscripts Peon

    Messages:
    1,062
    Likes Received:
    48
    Best Answers:
    0
    Trophy Points:
    0
    #7
    As others have said, you should use PDO. It's built into php so it's much much faster than any php scripts.
     
    premiumscripts, Oct 8, 2009 IP
  8. elenabush

    elenabush Peon

    Messages:
    502
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #8
    you should use php data object, it is very fast for processing.
     
    elenabush, Oct 9, 2009 IP
  9. chadsmith

    chadsmith Peon

    Messages:
    82
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #9
    I'm a big fan of ezSQL. It's the same class Wordpress uses.
     
    chadsmith, Oct 9, 2009 IP
  10. MDV

    MDV Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Ofcourse PDO. It is fast and securely.
     
    MDV, Oct 9, 2009 IP