Web form update help

1

I'm developing a CRUD system, and I'm having trouble updating registered users. The bad news is that my browser does not show any errors.

The problem is that when I do edit in some field, for example, email, where it was written [email protected]. Digito [email protected]. When I click the button, the email field goes back to [email protected], and no error message appears, nor does it return to the home.php page.

The correct would be to leave the email field filled with [email protected] and return to home.php page.

Below is the code with the user edit page.

Thanks in advance for your help!

For better visualization of the code, I put it in PasteBin: link

Thanks in advance for your help!

    
asked by anonymous 24.11.2016 / 18:43

1 answer

2

<button class="btn waves-effect waves-light" type="submit" name="'atualizar'">

switch by:

<button class="btn waves-effect waves-light" type="submit" name="atualizar">
    
24.11.2016 / 20:34