frankx: Assoziatives Array als Tabelle ausgeben (Pear)

Beitrag lesen

Hellihello

[0] => Array
    (
        [id] => 1 [username] => xyz [password] => 1234 [mod1] => read [mod2] => read
    )

Wie wärs mit

  
<table>  
<?php foreach ($userArray as $user):?>  
<tr>  
 <?php foreach ($user as $value):?>  
 <td><?php echo $value?></td>  
 <?php endforeach?>  
</tr>  
<?php endforeach?>  
</table>  

? Anderer Ansatz, klar. PHPs alternative Syntax.

Dank und Gruß,

frankx

--
tryin to multitain  - Globus = Planet != Welt