<td>
                            <input type="number" min="1" name="CostPrice" value="" />
                            <span id="CostPrice" class="error">
                                <?php 
echoValue($errors, 'CostPrice');
?>
                            </span>
                        </td>
                    </tr>
                    <tr>
                        <td>Sell Price</td>
                        <td>
                            <input type="number" min="1" name="sellPrice" value="" />
                            <span id="CostPrice" class="error">
                                <?php 
echoValue($errors, 'sellPrice');
?>
                            </span>
                        </td>
                    </tr>


                    
                </tbody>
            </table>

        </form>
        <p><a href="register_form.php">Register</a></p>
        <?php 
require 'utils/footer.php';
?>
            <input type="hidden" name="ID" value="<?php 
echo $row['ID'];
?>
" />
            <table border="0">
                <tbody>
                    <tr>
                        <td>User Name</td>
                        <td>
                            <input type="text" name="UserName" id="UserName" value="<?php 
echo $row['Name'];
?>
" />
                            <span id="nameError" class="error">
                                <?php 
echoValue($errors, 'UserName');
?>
                            </span>
                        </td>
                    </tr>
                    <tr>
                        <td>Email</td>
                        <td>
                            <input type="email" name="mail" value="<?php 
echo $row['emailAddress'];
?>
" />
                            <span id="emailError" class="error"></span>
                        </td>
                    </tr>
                    <tr>
                                    <?php 
if (isset($errors['date'])) {
    echo $errors['date'];
}
?>
                                </span>
                            </div>
                        </div>
                        <br>
                        <div class="row">
                            <div class="label">
                                <label for="location">Store Location:</label>
                            </div>
                            <div class="control">
                                <input type="text" name="location" id="location" value="<?php 
echoValue($form_data, 'location');
?>
">
                            </div>
                            <div class="error">
                                <span id="locationError">
                                    <?php 
if (isset($errors['location'])) {
    echo $errors['location'];
}
?>
                                </span>
                            </div>
                        </div>
                        <br>
                        <div class="row">