MysqlVSmysqli, which one should I use? What should I do?

Source: Internet
Author: User
MysqlVSmysqli, which one should I use? When I was a beginner in PHP, I saw the database. in the textbook, mysqli is a new extension, which has been improved in mysql extension: the pre-execution function pointer bound by myself supports multi-statement support ...... I asked my colleagues why they basically use mysql instead of mysqli? How can someone explain it? Thank you! ------ Solution ---- mysql VS mysqli. which one should I use?
PHP beginners, see the database here
In the textbook, mysqli is a new extension, which has been improved in mysql extension:
Self-binding/preparation/execution functions
Pointer support
Multi-statement support
......
I asked my colleagues why they basically use mysql instead of mysqli?

How can someone explain it?

Thank you!


------ Solution --------------------
Pdo
!
------ Solution --------------------
Like MYSQL.
------ Solution --------------------
The latest PHP version is about to abandon mysql.
------ Solution --------------------
Mysql function groups are process-oriented functions developed based on mysql4.
Mysqli function Group is an object group developed based on mysql5.
To meet the needs of old programs, mysqli also provides process-oriented functions.

We recommend that you use PDO form mysql

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.