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 - 20 hours 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.

0

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

Ask clarification

2 Recommendations

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

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

0

by zinsou A.A.E.Moïse Reputation 5505 - 1 hour 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.

0

by Leonardo Mauro Pereira Moraes package author package author Reputation 25 - 20 hours ago (2019-05-12) Comment

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


Recommend package
: 
: