in reply to DBI mysql substring_index syntax error
Use placeholders whenever possible, use ->quote() everywhere else.
This would take care of all escaping issues for you, and make you invulnerable against SQL injection attacks.
Time flies when you don't know what you're doing
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: DBI mysql substring_index syntax error
by Rodster001 (Pilgrim) on Oct 22, 2014 at 06:32 UTC | |
by Laurent_R (Canon) on Oct 22, 2014 at 06:57 UTC |