Ver Mensaje Individual
  #4 (permalink)  
Antiguo 15/11/2012, 10:44
Avatar de CoriaWeb
CoriaWeb
 
Fecha de Ingreso: septiembre-2012
Ubicación: Coria del Río - Sevilla
Mensajes: 1.795
Antigüedad: 11 años, 7 meses
Puntos: 130
Respuesta: Problema con variable dentro de un include

Cita:
Iniciado por humansl11 Ver Mensaje

Código:
while($row = $f)
					{
						echo "<tr>";
						echo"<td ><b>Años</b> </td>";
						echo"<td><input type='text' value='".$row['ano']."' /></td>";
						echo"<td>";
						echo"<img src='../../../asset/iconos/flashdisk (3).png' width='16' height='16' title='Editar' style='cursor:pointer;' />";
						echo"&nbsp;&nbsp;<img src='../../../asset/iconos/page_white_delete (4).png' width='16' height='16' title='Eliminar Año' style='cursor:pointer;' />";
						echo"</td>";
						echo"</tr>";
					}
Prueba asi:

Código PHP:
Ver original
  1. while($row = mysql_fetch_array($f))
  2.                     {
  3.                         echo "<tr>";
  4.                         echo"<td ><b>Años</b> </td>";
  5.                         echo"<td><input type='text' value='".$row['ano']."' /></td>";
  6.                         echo"<td>";
  7.                         echo"<img src='../../../asset/iconos/flashdisk (3).png' width='16' height='16' title='Editar' style='cursor:pointer;' />";
  8.                         echo"&nbsp;&nbsp;<img src='../../../asset/iconos/page_white_delete (4).png' width='16' height='16' title='Eliminar Año' style='cursor:pointer;' />";
  9.                         echo"</td>";
  10.                         echo"</tr>";
  11.                     }
__________________
Hosting de Calidad
Servidores Dedicados Administrados
CoriaWeb.hosting