Hello.
I am looking for some help regarding searching an email field in MYSQL. Currently have a form that allows customers to search for other customers based on email.
I do not want someone to type in "mail" as their search string and return every customer with "gmail", "hotmail", "webmail", etc. in their email address.
Any idea of how to do this? The ideal situation would be a MYSQL query that looks only at the string preceding the @ sign in the email address.
So, a search for "mail" would return "mailcarrier@us.gov" but not "joe@hotmail.com".
Any ideas? Thanks in advance.