mysqli - What are the advantages of sqli over sql? -


i know more security perspective. advantages of sqli on sql?

i assume talking php mysql extensions mysql , mysqli.

besides fact the mysql extension deprecated since php 5.5.x , should not used in new projects anymore, the mysqli docs list important improvements:

the mysqli extension has number of benefits, key enhancements on mysql extension being:

  • object-oriented interface

  • support prepared statements

  • support multiple statements

  • support transactions

  • enhanced debugging capabilities

  • embedded server support

from security perspective, support prepared statements strongest argument new extension. prepared statements best defense against sql injections.


Comments

Popular posts from this blog

javascript - Bootstrap Popover: iOS Safari strange behaviour -

Website Login Issue developed in magento -

Can the constants be defined inside a model file of a framework in PHP? -