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

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -