PHP Velho Oeste 2024

Aperçu des drivers PHP MySQL

Introduction

Il y a plusieurs APIs PHP pour accéder à une base de données MySQL. Les utilisateurs peuvent choisir entre les extensions mysqli ou PDO_MySQL.

Ce guide explique la terminologie utilisée pour décrire chacune d'elles, fournit des informations quant aux choix de l'API à utiliser, ainsi que des informations vous permettant de vous aider à choisir la bibliothèque MySQL à utiliser avec l'API.

add a note add a note

User Contributed Notes 1 note

up
-23
info at talkforweb dot com dot au
4 years ago
MySQL deprecated in PHP 5.5.0, and removed in PHP 7.0.0. For a large and old application, this is difficult to search and replace each function.

We can use MySQL functions by creating a wrapper function for each below is running code. <a href="https://www.talkforweb.com.au/php/how-to-use-mysql-in-php-7-version">Click here</a>
To Top