University teacher
Children's book Author";
$dirvar="{$firstpath}";
$promodiscount=getpromodiscount($itemnumber);
$query = "SELECT * FROM courses where itemnumber = '{$itemnumber}';";
$result = mysqli_query($GLOBALS['conn'],$query) ;
$row = mysqli_fetch_array($result);
$itemname=$row['itemname'];
$description= $row['longdescription'];
$price= $row['price'];
?>