I have something in the database under the region column named "St. Catharines"
I would like to return the records containing "St. Catharines" from a string without the period. So, the string would be "St Catharines". Can this be done? How?
Right now I have:
$region = "St Catharines";
$query = " AND region like '" . $region . "%'";
Unfortunately, it does not work.
The period would always be absent from the $region
string and could be anywhere within the database record (i.e. not just after "St").