0

Which DB-typ is best for e-mail?

Varchar, text or different typ Which is best to store e-mail Which typ can handle "@"?

4th Mar 2021, 10:14 AM
Philipp
Philipp - avatar
1 Resposta
+ 5
Varchar (255) and you can validate email using HTML type email and also use Regex for validation from server-side Read this article will help you https://stackoverflow.com/questions/12759596/validate-email-addresses-in-mysql/12759715
4th Mar 2021, 10:30 AM
Jamal Saied
Jamal Saied - avatar