<form id="productform" action="updateproduct.php" method="post">
    <input type="hidden" id="productid" name="productid" value="<?php echo $productid?>">
    <div class="row">
        <div class="col-md-6 mb-3">
            <label for="desc">Product Name</label>
            <input type="text" class="form-control" id="productname" name="productname" 
                   placeholder="Enter Product Name" value="<?php echo $productname?>" 
                   required="true">
        </div>
    </div>
    <div class="row">
        <div class="col-md-3 mb-3">
            <label for="desc">Description</label>
            <input type="text" class="form-control" id="description" name="description" 
                   placeholder="Enter Product Description" value="<?php echo $description?>" 
                   required="true">
        </div>
    </div>
	<div class="row">
        <div class="col-md-3 mb-3">
            <label for="desc">Price £</label>
            <input type="text" class="form-control" id="price" name="price" 
                   placeholder="Enter Product Price" value="<?php echo $price?>" 
                   required="true">
        </div>
    </div>
	<div class="row">
        <div class="col-md-3 mb-3">
            <label for="desc">Jewellery Type</label>
            <input type="text" class="form-control" id="jewelleryid" name="jewelleryid" 
                   placeholder="Enter Jewellery Type" value="<?php echo $jewelleryid?>" 
                   required="true">
        </div>
    </div>
	<div class="row">
        <div class="col-md-3 mb-3">
            <label for="desc">Design</label>
            <input type="text" class="form-control" id="designid" name="designid" 
                   placeholder="Enter Product Design" value="<?php echo $designid?>" 
                   required="true">
        </div>
    </div>
	<div class="row">
        <div class="col-md-3 mb-3">
            <label for="desc">Colour</label>
            <input type="text" class="form-control" id="colourid" name="colourid" 
                   placeholder="Enter Product Colour" value="<?php echo $colourid?>" 
                   required="true">
        </div>
    </div>
	<div class="row">
        <div class="col-md-3 mb-3">
            <label for="desc">Crystal</label>
            <input type="text" class="form-control" id="crystalid" name="crystalid" 
                   placeholder="Enter Product Crystal" value="<?php echo $crystalid?>" 
                   required="true">
        </div>
    </div>
	<div class="row">
        <div class="col-md-3 mb-3">
            <label for="desc">Charm</label>
            <input type="text" class="form-control" id="charmid" name="charmid" 
                   placeholder="Enter Product Charm" value="<?php echo $charmid?>" 
                   required="true">
        </div>
    </div>
    <div class="row">
        <div class="col-md-4">
            <input class="btn btn-success" type="submit" value="Update" style="background-color: #325838; color: #FFFFFF; font-size: 12pt; border: 0; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.2); padding: 5px 10px;">
            <input class="btn btn-warning" type="submit" onclick="form.action='index.php'" value="Cancel" formnovalidate style="background-color: #C1D3C5; color: #000000; font-size: 12pt; border: 0; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.2); padding: 5px 10px;">
        </div>					
    </div>	
</form>