Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7980181
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T09:59:22+00:00 2026-06-04T09:59:22+00:00

I am using MySQL with PHP5 . I got to know that ancient mysql_*

  • 0

I am using MySQL with PHP5. I got to know that ancient mysql_* functions are no longer maintained and community has begun the deprecation process. So I decided to move away from mysql_*. The question is where to? I am looking for lighter, simpler and faster way. Somebody tell me which among these (mysqli and PDO) is;

  1. faster
  2. easy to learn and code
  3. consumes less space and memory

Note: Tutorial links in beginner level for these two will be helpful.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T09:59:23+00:00Added an answer on June 4, 2026 at 9:59 am

    PDO vs. MySQLi: Which Should You Use?

    Both PDO and MySQLi offer an object-oriented API, but MySQLi also
    offers a procedural API – which makes it easier for newcomers to
    understand. If you are familiar with the native PHP MySQL driver, you
    will find migration to the procedural MySQLi interface much easier. On
    the other hand, once you master PDO, you can use it with any database
    you desire!

    Summary

    DataBase Support

    Ultimately, PDO wins this battle with ease. With support for twelve
    different database drivers (eighteen different databases!) and named
    parameters, we can ignore the small performance loss, and get used to
    its API. From a security standpoint, both of them are safe as long as
    the developer uses them the way they are supposed to be used.

    So if you’re still working with MySQLi, maybe it’s time for a change!

    PDO vs. MySQLi: Which Should You Use? – By Dejan Marjanovic

    Hope this helps .

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using PHP5 and MySQL. I'm using mysql_...() functions.
Using php5.2 and MySQL 4.1.22 I've come across something that, at first, appeared simple
(Using MySQL and PHP) I have a search form that will allow my users
We're using MySQL with Innodb Engine storage. We have an evented environment that sends
I'm used to web development using LAMP, PHP5, MySQL plus NetBeans with Xdebug. Now
I am using PHP5 and MySql, I wondered if there was a way of
I am using php5.3.6 and mysql 5.1.56 and CodeIgniter. Here is what I did.
Hi I'm new to php mysql development. I'm using wamp server on windows. php5.3.4,
Hey This is my login script, using PHP5 and MYSQLi, I just had help
I'm using MySQLi with PHP(5.2.4) MySQL(5.0.51a) on Ubuntu 8.04 LAMP. The relevant Db tables

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.