sanitize_sql_array(ary)
Instance Protected methods
Accepts an array of conditions. The array has each value sanitized and interpolated into the SQL statement.
1 | [ "name='%s' and group_id='%s'" , "foo'bar" , 4 ] returns "name='foo''bar' and group_id='4'" |
Please login to continue.