Topic: insert dynamic values into text area
I am trying to insert some values into the different fields of an update form:
<table class="tablita2">
<tr>
<td><strong>Titulo:</strong> </td>
<td><input name="titulo" type="text" size="40" maxlength="40" value="<?php echo $titulo; ?>"/> </td>
</tr>
<tr>
<td><strong>Fecha:</strong> </td>
<td><input name="fecha" type="text" size="40" maxlength="40" value="<?php echo $fecha; ?>" /></td>
</tr>
<tr>
<td><strong>Lugar:</strong> </td>
<td><input name="lugar" type="text" size="40" maxlength="40" value="<?php echo $lugar; ?>"/></td>
</tr>
<tr>
<td><strong>Hora:</strong> </td>
<td><input name="hora" type="text" size="40" maxlength="40" value="<?php echo $hora; ?>"/></td>
</tr>
<tr>
<td><strong>Comentarios:</strong> </td>
<td><textarea name="comentarios" cols="40" rows="3" ></textarea></td>
</tr>
<tr>
<td> </td>
<td><p>
<input type="submit" name="submit" value="Editar" />
</p>
<p> </p></td>
</tr>
</table>The only one I have problems with is the text area. It doesn't work. Where should I put the "value"?
Thanks
Eduardo
Last edited by edoplaza (2009-11-04 22:57:58)
