V
V
Vitaliy2021-07-23 10:50:08
PHP
Vitaliy, 2021-07-23 10:50:08

How to implement change email in php without using javascript?

Guys I'm trying to add user editing functionality, namely the ability to change the user's email.

The problem is that when checking for an existing user, I give an error "that the user already exists." but if I edit the same user with the same email, then the same error occurs when updating other user fields.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaliy, 2021-07-23
@inajaf

I decided to implement the mail change functionality separately from the user editing form.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question