</td>
</tr>
</table>

<input type="hidden" name="hd_variable" value="<?php 
echo $editar;
?>
"/>
<input type="hidden" name="id_variable" value="<?php 
echo $editar;
?>
"/>
</form>
<br>
<?php 
$AllArticulo = $articulo->GetAll();
$claves = array_keys($AllArticulo);
$cant = count($AllArticulo);
if ($cant > 0) {
    echo "<table border=1  width='400' align='center' class='filaPar'>";
    for ($i = 0; $i < $cant; $i++) {
        echo "<tr align='center'>";
        echo "<td>{$claves[$i]} </td>";
        foreach ($AllArticulo["{$claves[$i]}"] as $key => $valor) {
            if ($key == "val1") {
                echo "<td>{$valor} </td>";
            }
        }
        echo "<td width='10%' ><a href='paso.php?c=t&editar=" . $claves[$i] . "'><img border=0 src='imagenes/editar.jpg' width='20' height='20' ></a></td>";
        //echo "<td><a href='paso.php?c=v&eliminar=".$claves[$i]."'><img border=0 src='imagenes/delete.jpg' width='20' height='20'></a></td>";
        echo "</tr>";