<?php

include $_SERVER['DOCUMENT_ROOT'] . '/classes/autoload.php';


$stock_res = $db->query("stock","SELECT * FROM stock WHERE record_id = '{$_POST['record_id']}'");
$stock = $stock_res->fetch_assoc();
echo $stock['unit_of_measure'].",".$stock['retail'];