Good morning, I'm doing the INSERT in a table of the database in two fields, one that is the username and another is the password.
At the moment both fields have the same content, for example
USER | PASSWORD [email protected] [email protected]
This is because I am sending the same parameter for both fields.
I would like to ignore the user name from @ mail.com so that the name will remain only in the mail.
I understand that this is achieved with the substr function I am not aware of how the part of the string I want to delete could be ignored.
I hope you can help me, regards.