I have a project that lists member names, and everything works great, except that when I run the search page, if the member name has a quote in it (like Braum's) I get an error message. I have looked and looked through the forum, and have seen references to escaping the quote with a \, which I have tried, but I'm just not getting it right.
Is this something that needs to be added as a before search event on the events page? This is what I have so far, and it's not working.....
$member=members.member_name;
$values["member"]= str_replace("'","\'",$values["member"]);
I apologise in advance if this is 'basic php'....... but its not so 'basic' to me right now :-)