input value does not appear in POST

Asked

Viewed 65 times

-1

Hello, I have a kind of silly problem but it is as follows: when I give Ubmit, via post, all the values of the inputs of the form are correct but I realized that only the value of this input does not appear. I couldn’t identify the problem.

Input that does not appear in the post:

<input type="text" class="form-control" id="nome_user" name="nome_user" value="<?php echo $result['nome_user'];?>" disabled>

to check the values in POST used:

print("<pre>".print_r($_POST,true)."</pre>");

1 answer

1


Probably because of the: disabled attribute.

replace with the reandoly attribute!

<input type="text" class="form-control" id="nome_user" name="nome_user" value="<?php echo $result['nome_user'];?>" reandoly>
  • That’s right, it never even crossed my mind! Thank you so much.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.