Property value in an html textarea?

0

Because my question is if it is possible, I have this code from a form that collects data and since all the values are assigned less in the textarea, check that the variable is not empty.

$eq_vehiculo = $equipamiento;
echo "<script>alert('$eq_vehiculo')</script>";

<textarea name="text_equipamiento"  style="height:150px" placeholder="Ingrese detalles del vehiculo" value="<?php echo $eq_vehiculo; ?>" required></textarea>
    
asked by Sebastian Ismael 05.12.2018 в 05:10
source

1 answer

2

The etiqueta goes like this:

<textarea name="text_equipamiento"  style="height:150px" placeholder="Ingrese detalles del vehiculo" required><?php echo $eq_vehiculo; ?></textarea>
    
answered by 05.12.2018 / 05:13
source