PHP Classes

PDO Class: I need a class to connect to my db (mysql). Now my code is a old

Recommend this page to a friend!
  All requests RSS feed  >  PDO Class  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

PDO Class

Edit

Picture of Filippo Berardo by Filippo Berardo - 5 years ago (2019-05-12)

I need a class to connect to my db (mysql). Now my code is a old

This request is clear and relevant.
This request is not clear or is not relevant.

+1

My php code now is not update and secure. i need a well made class for a scure and easy connection

Ask clarification

6 Recommendations

Dframe Database: Access a MySQL database using PDO

This recommendation solves the problem.
This recommendation does not solve the problem.

0

Picture of Slawomir Kaleta by Slawomir Kaleta package author package author Reputation 50 - 4 years ago (2020-01-09) Comment

PDO wrapper with well documentation on dframeframework.com/en/docs/database/master/query


PHP OOP PDO Database Class Example: Demonstration of how to access databases using PDO

This recommendation solves the problem.
This recommendation does not solve the problem.

0

Picture of Dev Sharma by Dev Sharma package author package author Reputation 25 - 5 years ago (2019-07-23) Comment

Well it shows the user on how to use PDO database class and use it as a connection to MySQL along with an example on how you can actually use the class to insert users and do a lot of things that may help you.


PHP PDO MySQL Class: Access MySQL databases using PDO

This recommendation solves the problem.
This recommendation does not solve the problem.

0

Picture of Clement Sam by Clement Sam package author package author Reputation 100 - 5 years ago (2019-07-05) Comment

This code makes it easier to do what you want


Niger: Query MySQL to generate data exports

This recommendation solves the problem.
This recommendation does not solve the problem.

+1

Picture of Hassane Moussa by Hassane Moussa package author package author Reputation 370 - 5 years ago (2019-05-27) Comment

Hi Berardo, This Class can help you ! try it ! Best regards, Hassane


PHP MySQL to MySQLi: Replace mysql functions using the mysqli extension

This recommendation solves the problem.
This recommendation does not solve the problem.

+1

Picture of zinsou A.A.E.Moïse by zinsou A.A.E.Moïse Reputation 5850 - 5 years ago (2019-05-13) Comment

As your code is old it may be very costly to rewrite it from scratch ...So you should use this package which is secure and will allow your code to work on old and new PHP versions...


Connection DBMS: Connect to databases using PDO or MySQLi

This recommendation solves the problem.
This recommendation does not solve the problem.

+1

Picture of Leonardo Mauro Pereira Moraes by Leonardo Mauro Pereira Moraes package author package author Reputation 30 - 5 years ago (2019-05-12) Comment

I suggest you to use the PDO Class. You can execute any query using prepared statement.


Recommend package
: 
: