<?php
function productoBusca(\PDO $bd, int $prodId)
{
$stmt = $bd->prepare("SELECT * FROM PRODUCTO WHERE PRD_ID = :PRD_ID");
$stmt->execute([":PRD_ID" => $prodId]);
$modelo = $stmt->fetch(PDO::FETCH_ASSOC);
return $modelo;
}
GilPG AWOAS
24. Compras sencillas
arrow_upward
api / Bd.php
api / det-venta-agrega.php
api / det-venta-elimina.php
api / det-venta-modifica.php
api / detVentaConsulta.php
api / productoBusca.php
api / venta-en-captura-procesa.php
api / ventaEnCapturaAgrega.php
api / ventaEnCapturaBusca.php
api / vista-agrega.php
api / vista-carrito.php
api / vista-index.php
api / vista-modifica.php
arrow_downward