get value to a post in form

0

Guys a little doubt, please thanks I have a query and I get the value

<textarea name="autor"  id="autor" style="width: 100%;   min-height: 28px;" value="<?php echo $row["Autor"]; ?>" disabled><?php echo $row["Autor"]; ?></textarea>

And I send it in a form

<form action="InsertaArticulo3.php" method="POST" enctype="multipart/form-data">

Now in InsertArticle3 I recover the value but it is empty

$titulo=$_POST['titulo'];
$articulo= mysql_real_escape_string($_POST['articulo']);

$autor=$_POST['autor']; 

Please can you help me I do not understand the value comes empty and the names are fine, before if I inserted but since I entered that value it does not insert it in the base :(

    
asked by Quiroz Luis 15.06.2018 в 00:12
source

1 answer

2

The problem is that your textarea has the attribute disabled and its value will not be sent, try with readonly .

link

link

    
answered by 15.06.2018 / 00:22
source