Ver Mensaje Individual
  #3 (permalink)  
Antiguo 07/03/2002, 09:23
Avatar de Webstudio
Webstudio
Colaborador
 
Fecha de Ingreso: noviembre-2001
Ubicación: 127.0.0.1
Mensajes: 3.499
Antigüedad: 22 años, 5 meses
Puntos: 69
Re: Transformar arrays en tablas html

Dos ejemplos muy pavos.

Cita:
Sabéis donde podría encontrar ejemplos para transformar arrays en tablas html...
<?
$array = array("uno", "dos", "tres", "cuatro");
echo "<table>";
foreach($array as $fila)
echo "<tr><td>".$fila."&l t;/td></tr>";
echo "</table>";
?>

Cita:
¿Y arrays a strings separados por un caracter separador?
Más sencillo aún, leete el manual del PHP.
<a href='ir.asp?http://www.php.net/manual/es/function.implode.php' target='_blank'>http://www.php.net/manual/es/function.im...</a>

saludos.

<hr><font size=2 face="verdana">- Pablo Daniel Rigazzi (Webstudio)
<font size=1 color="#333333">COORDINADOR PROYECTO REGIONALIZACION ARGENTINA
Visita <a href="http://www.web-studio.com.ar" target="_blank">Web Studio</a> - Tutoriales Photoshop</fo