Ver Mensaje Individual
  #7 (permalink)  
Antiguo 04/05/2010, 13:21
Arcana
 
Fecha de Ingreso: mayo-2010
Mensajes: 185
Antigüedad: 14 años
Puntos: 2
Respuesta: Insertar mysql en un textarea

necesito su ayuda denuevo, quiero agregar un codigo al textarea, quiero agregar este codigo

<a href="http://www.ondapix.com/viewPhoto.php?fileID=1406108"><img src="http://i400.photobucket.com/albums/pp88/ondapix3/0014/95ea0803654f3ad4607d.gif" border="0"><br>OndaPix.com - Comentarios para hi5 / Myspace</a><br>

lo he intentado asi

Código PHP:
  <?php 
if ($totEmp0) {
    while (
$rowEmp mysql_fetch_assoc($resEmp)) {
        echo 
"Titulo: ".$rowEmp['titulo']."<br>";
        echo 
"<img src=\"".$rowEmp['imagen']."\"><br>";
        echo <
textarea><a href="http://www.ondapix.com/viewPhoto.php?fileID=1406108"><img src="http://i400.photobucket.com/albums/pp88/ondapix3/0014/95ea0803654f3ad4607d.gif" border="0"><br>OndaPix.com Comentarios para hi5 Myspace</a><br></textarea>
        
    }
}
?>
Pero no funciona, y ademas quiero que enves de los links se cambie por el link de la imagen y lo he intentado asi


Código PHP:
<?php 
if ($totEmp0) {
    while (
$rowEmp mysql_fetch_assoc($resEmp)) {
        echo 
"Titulo: ".$rowEmp['titulo']."<br>";
        echo 
"<img src=\"".$rowEmp['imagen']."\"><br>";
        echo <
textarea><a href=".$rowEmp['imagen']."><img src=".$rowEmp['imagen']." border="0"><br>OndaPix.com Comentarios para hi5 Myspace</a><br></textarea>
        
    }
}
?>


Pero tampoco funciona, quisiera saber si ustedes saben como hacerlo