WebSite X5Help Center

 
Björn J.
Björn J.
User

Email form question  en

Author: Björn J.
Visited 1136, Followers 1, Shared 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?

Posted on the
5 ANSWERS - 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!

Read more
Posted on the from Claudio D.
Björn J.
Björn J.
User
Author

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

Read more
Posted on the from 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!

Read more
Posted on the from Claudio D.
Björn J.
Björn J.
User
Author

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

Read more
Posted on the from Björn J.
Björn J.
Björn J.
User
Author

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.

Read more
Posted on the from Björn J.