Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Email Address Adds \ Before @

Featured Replies

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?

  • Author

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...

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'));

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.