I have a form that has input fields that are disabled but none the less it holds values.
How can i take into a variable and insert. I tried:
$value1 = $_POST['test'];
You can't. Disabled fields are not posted to your server. Readonly fields are posted, so if you really need the contents of the field you could change it to be readonly instead of disabled.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With