<?php

require('../functions/functions.php');
session_start();
$id_nota =$_SESSION['cveNota'];

$datos = get_recetas($id_nota);
?>
<table class="table">
    <thead style="background: #D5D8DC;">
        <tr>
            <th class="align-middle text-center" scope="col">Clave</th>
            <th class="align-middle text-center" scope="col">Nombre de Receta</th>
        </tr>
    </thead>
    <tbody>
        <?php for($rr=0;$rr<count($datos);$rr++){ ?>
        <tr>
            <td class="align-middle text-center"><?php $datos[$rr]['REC_CLAVE']?></td>
            <td class="align-middle text-center"><?php $datos[$rr]['REC_NOMBRE']?></td>
        </tr>
        <?php }?>
    </tbody>
</table>