in reply to DBI search for forward slash

Simple DBI search

You say "search" but are using WHERE for exact matches. Are you sure you don't mean LIKE?

Otherwise, you'll have to provide an SSCCE that reproduces this behavior, because I don't really see anything wrong with the code snippet you've shown, and you haven't shown any sample data.