New course! Every coder should learn Generative AI!
Try a free lesson+ 21
mysqli was pretty popular as far as I know, but PDO is a recommended way of communication with a database.
Here's the API comparison:
https://www.php.net/manual/en/mysqlinfo.api.choosing.php