Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 3600 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi all,

 

I am using FMStudio to do my PHP for me. 

I have a webpage where the clients can amend their contact details including their email address.

 

When you hit the submit / save button everything updates perfectly but the email address whether you change it or not seems to add '' before the @ symbol. 

 

If I remove the @ symbol and hit save it doesn't add it. 

Seems to be something to do with the @.

 

Any ideas at all?

Posted

What I have done as a stop gap measure is two email fields and another field that combines the two with @ between them.

It works but don't have any idea why its adding the in the first place.

  • 3 weeks later...
Posted

Make sure you have the encoding of the page set correctly

 

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

 

You could also use stripslashes on the field before inputting to the database. If the field is called 'email'

 

$email = stripslashes($_POST('email'));

This topic is 3600 days old. Please don't post here. Open a new topic instead.

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
×
×
  • Create New...

Important Information

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