• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here:Home » MySQLi or MySQL Improved Extension

By Abhishek Ghosh March 29, 2013 12:50 am Updated on March 29, 2013

MySQLi or MySQL Improved Extension

Advertisement

MySQLi or MySQL Improved Extension, as the name implies, is an improved version of the conventional PHP MySQL driver, offering some extra benefits. Previously we wrote the basics on MySQL in What is MySQL, Why We Need MySQL.

 

MySQLi Basics

 

It is actually not possible to provide every details on MySQLi on this website. This is beyond the scope of this website. Our purpose is to provide the basic idea about any inquiry that might arise either in need or out of curiousness. That is what this website is for, what ever the topic is. If you are looking for titbits on MySQLi, then please consult php.net for the official reference. Common questions around MySQLi are (from various comments) :

 

  • Why we will use MySQLi instead of MySQL?
  • Are there situations where one should not use MySQLi?
  • Do server needs to be configured differently to use MySQLi?

 

MySQLi is object oriented, it enables most of the features of MySQL. MySQLi delivers prepared statements, transactions, multiple statements and possibly it is a safer way of exchanging data or running commands to the MySQL server and in turn it protects from SQL injection. This might be a reason for choosing MySQLi over MySQL. It is said that, the MySQL version 4.1.3 or later users must use the mysqli extension. Unfortunately, some functions are not yet included in MySQLi.

Advertisement

---

 

Notes on MySQLi

 

MySQLi or MySQL Improved Extension

 

It depends on the blogging software or CMS, whether it will support MySQLi or not. While many PHP MySQL CMS has started to offer MySQLi connectivity; like MyBB forum software; many including WordPress, does not have MySQLi support enabled out of the box. In that case, we need to modify the PHP codes manually. WordPress uses mysql_* functions.

When the question is around upgrading to MySQLi from MySQL, for long term, PDO seems to be superior over MySQLi. This is why people usually compares MySQLi with PDO, not MySQL versus MySQLi.

Some references are given below :

 

Vim
1
http://php.net/manual/en/book.mysqli.php

Vim
1
http://php.net/manual/en/class.mysqli.php

Vim
1
http://net.tutsplus.com/tutorials/php/why-you-should-be-using-phps-pdo-for-database-access/

 

Abhishek-Ghosh
Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to MySQLi or MySQL Improved Extension

  • Nginx WordPress Installation Guide (All Steps)

    This is a Full Nginx WordPress Installation Guide With All the Steps, Including Some Optimization and Setup Which is Compatible With WordPress DOT ORG Example Settings For Nginx.

  • WordPress & PHP : Different AdSense Units on Mobile Devices

    Here is How To Serve Different AdSense Units on Mobile Devices on WordPress With PHP. WordPress Has Function Which Can Be Used In Free Way.

  • Changing Data With cURL for OpenStack Swift (HP Cloud CDN)

    Changing Data With cURL For Object is Quite Easy in OpenStack Swift. Here Are Examples With HP Cloud CDN To Make it Clear. Official Examples Are Bad.

  • PHP Snippet to Hide AdSense Unit on WordPress 404 Page

    Here is Easy PHP Snippet to Hide AdSense Unit on WordPress 404 Page to Avoid Policy Violation and Decrease False Impression, False Low CTR.

performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Hybrid Multi-Cloud Environments Are Becoming UbiquitousJuly 12, 2023
  • Data Protection on the InternetJuly 12, 2023
  • Basics of BJT TransistorJuly 11, 2023
  • What is Confidential Computing?July 11, 2023
  • How a MOSFET WorksJuly 10, 2023
PC users can consult Corrine Chorney for Security.

Want to know more about us?

Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy