siamon123 / warehouse-inventory-system

Open source inventory management system with php and mysql
http://www.oswapp.com
MIT License
379 stars 233 forks source link

View Article Page #33

Open Emanuele20 opened 6 years ago

Emanuele20 commented 6 years ago

Hi to all! i ve found today this beautiful script and customizing for my need. Any idea how create a view product page with image? i try to do but i cannot show image, i retrive all data... thx

best regards

``<?php $page_title = 'View product'; require_once('includes/load.php'); // Checkin What level user has permission to view this page page_require_level(2); ?> <?php $product = find_by_id('products',(int)$_GET['id']); $all_categories = find_all('categories'); $all_photo = find_all('media'); if(!$product){ $session->msg("d","Missing product id."); redirect('product.php'); } ?>

<?php include_once('layouts/header.php'); ?>

product-image

NAME:
COD:
Q.TY
ACQ
EBAY
DATA_ENTRY