Ver Mensaje Individual
  #8 (permalink)  
Antiguo 07/11/2012, 14:02
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años
Puntos: 2135
Respuesta: como mostrar un dato a traves de un TextArea

Pues simple:
Código PHP:
Ver original
  1. echo "<textarea>" . $lavariable . "</textarea>";

Aunque si vas a imprimir mucho HTML es mejor salir del modo PHP e imprimir directo el HTML:
Código PHP:
Ver original
  1. <?php
  2. // cosas
  3. $var = 'blah';
  4. ?>
  5. <textarea><?=$var;?></textarea>
  6. <?php
  7. // mas cosas php