PHP Classes
elePHPant
Icontem

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

by Filippo Berardo - 4 months 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

5 Recommendations

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

by Dev Sharma package author package author Reputation 25 - 2 months 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

by Clement Sam package author package author Reputation 100 - 2 months 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

by Hassane Moussa package author package author Reputation 195 - 3 months 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

by zinsou A.A.E.Mo´se Reputation 5565 - 4 months 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

by Leonardo Mauro Pereira Moraes package author package author Reputation 30 - 4 months ago (2019-05-12) Comment

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


Recommend package
: 
: