Q:

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? 

A:

Thanks to Doug, I solved with:
$variable = implode("[.]", str_split($variable)) . "[.]";

and:
SELECT * FROM table
WHERE
   col_name  LIKE "%" . $variable ."%";

