Ver Mensaje Individual
  #3 (permalink)  
Antiguo 08/02/2010, 04:59
Avatar de AdrianSeg
AdrianSeg
 
Fecha de Ingreso: enero-2010
Mensajes: 595
Antigüedad: 14 años, 3 meses
Puntos: 14
Respuesta: Mostrar dato mysql en text area.

Probé eso y no me funciona:

Código PHP:
<?php
//Creamos la sentencia SQL y la ejecutamos
include ('../conexion.php');

$sSQL="SELECT i1evidencia FROM p101p";
$result=mysql_query($sSQL);
$row=mysql_fetch_array($result);

?>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Documento sin título</title>
</head>
<FORM>
<table width="1011" border="1" align="center">
  <tr bgcolor="#993300">
    <td height="51" bgcolor="#993300"><strong>I.SOBRE LAS GUÍAS DOCENTES DE LAS MATERIAS DEL POSGRADO</strong></td>
  </tr>
  <tr bgcolor="#FF0000">
    <td><strong><em>1. Accesibilidad y difusión</em></strong></td>
  </tr>
  <tr>
    <td height="62">Evidencias:<textarea rows="5" name="i1evidencia" cols="150">
   
    <?php echo $row["i1evidencia"]; ?>
    </textarea>  
</td>