WebSite X5Help Center

 
Björn J.
Björn J.
User

Email form question  en

Autor: Björn J.
Visitado 1139, Followers 1, Compartido 0  
Tags: 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?

Publicado en
5 RESPUESTAS - 1 CORRECTO
Incomedia
Claudio D.
Incomedia

Hello Björn,

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

Many thanks!

Leer más
Publicado en de Claudio D.
Björn J.
Björn J.
User
Autor

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

Leer más
Publicado en 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!

Leer más
Publicado en de Claudio D.
Björn J.
Björn J.
User
Autor

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

Leer más
Publicado en de Björn J.
Björn J.
Björn J.
User
Autor

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.

Leer más
Publicado en de Björn J.