From: xyon <xy...@in...> - 2007-05-01 18:16:48
|
While on the subject of escaping, I'm trying to pass some '%' vars to pam_mysql similar to the below: SELECT username FROM users WHERE description LIKE "%myuser%";, but 'myuser' is passed to the SQL statement as '%u'. So the below doesn't work: SELECT username FROM users WHERE description LIKE "%%u%"; I've tried a couple escape sequences, but am at a loss. Was still experimenting when I saw your reply Moriyoshi, and figured I'd pop in a message with this question just in case. --=20 xyon <xy...@in...> |