WebSite X5Help Center

 
Björn J.
Björn J.
User

Email form question  en

Auteur : Björn J.
Visité 1141, Followers 1, Partagé 0  
Mots-clés :: email,form

I am trying to use Email form object the user name contains the character @ and the email form does not allow that. Mysql database allows it. Is there a way to do this?

Posté le
5 RéPONSES - 1 CORRECT
Incomedia
Claudio D.
Incomedia

Hello Björn,

Can you please tell me what message you get? Which field is not accepting it?

Many thanks!

Lire plus
Posté le de Claudio D.
Björn J.
Björn J.
User
Auteur

I am trying to use the email form to put data into mysql database.

I cannot fill in the correct username because it dows not allow @

please see attachment

Lire plus
Posté le de Björn J.
Incomedia
Claudio D.
Incomedia

Hello Björn,

The @ is not allowed by default in the mySQL Databasefor the username so the program is showing you this message. Check please if the username is correct because the mySQL standars is using the @ as separator and so it will not work inside the username.

Many thanks!

Lire plus
Posté le de Claudio D.
Björn J.
Björn J.
User
Auteur

I I see it, this answer is wrong.Undecided

@ is allowed in mysql-usernames. I have confirmed that by adding such a user in my own database. And my webhost (loopia.se) say that they can not fix a username without the @ sign. So this must be something that your system checks and not allow.

Regards

Björn

Lire plus
Posté le de Björn J.
Björn J.
Björn J.
User
Auteur

So, now I have succeeded in getting the mail form to put data in the mysql database.

I edited the php-script created by your application and put in the correct username with the @ sign in it.

I think this shows that You should allow @ in user names.

Lire plus
Posté le de Björn J.