Search using REPLACE in a SELECT with PDO and .MDB ACCESS, with PHP
问题 I'm trying to write a mysql query that will match names from a table and the name in the database can contain dots or no dots. So, for example I would like my query string fast to match all of these: fast , f.ast , f.a.s.t etc. I use PHP, with PDO connecting to a .MDB database. I tried what I found here, with no success (I get error): SELECT * FROM table WHERE replace(col_name, '.', '') LIKE "%fast%" I think PDO for MDB databases is missing some functions :( Any solution? 回答1: Thanks to Doug,