Your code wouldn't work because you have quoted the placeholders : LIKE '?'
Instead you should do as recommended in the reply by lestrrat and leave them unquoted : LIKE ?
In reply to Re^2: DBI - I can't use bind variables with "like"?
by clinton
in thread DBI - I can't use bind variables with "like"?
by Cody Pendant
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |