WebSite X5Help Center

 
Björn J.
Björn J.
User

Email form question  en

Автор: Björn J.
Просмотрено 1140, Подписчики 1, Размещенный 0  
Тэги: 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?

Размещено
5 Ответы - 1 Корректно
Incomedia
Claudio D.
Incomedia

Hello Björn,

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

Many thanks!

Читать больше
Размещено От Claudio D.
Björn J.
Björn J.
User
Автор

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

Читать больше
Размещено От 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!

Читать больше
Размещено От Claudio D.
Björn J.
Björn J.
User
Автор

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

Читать больше
Размещено От Björn J.
Björn J.
Björn J.
User
Автор

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.

Читать больше
Размещено От Björn J.