Binding Variables in PHP ADOdb

Does ADOdb provide sanitation or data shielding with the same functionality by default? Or am I just confusing it with the Code Igniter inline processes?

Are variables associated with variables in ADOdb for PHP to prevent SQL injection in any way?

+4
source share
2 answers

Correctly bound parameters are not vulnerable to SQL injection attacks.

+2
source

yes, you are passing an array of parameters.

$rs = $db->Execute('select * from table where val=?', array('10')); 

Other documents can be found here :

+4
source

Source: https://habr.com/ru/post/1276767/


All Articles