Jump to content
Sign in to follow this  
MatthewFriedman

Performing a find with special characters in it

Recommended Posts

I trying to write a custom php web interface with my existing website so that potential customers and sign up to recieve our news letter. I have created a database with fields for email address, name, mailing address, and interests and subscriber status. customers do not have a problem coming to the website and signing up, however, I have also written an unsubscribe. where a customer may go to a different page, enter their email address, and the database scrip performs a search, finds their record based on the unique email address and automatically switches the subscriber status to "do not contact". I can not execute a search with the full email address in it, and it seems to be because of the @ symbol. however i have noticed that I can remedy this by doing searching with quotations like "blank@blank.com" and it will properly return a record for that email address. is there a way to do this without using the quotations, and if not, how do i write a find script to take the regularly entered email address and transform it to the email address with quotes around it an then execute the search.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use.