<button type="button" class="col btn bg-primary btn-outline-primary text-light" data-bs-toggle="modal" data-bs-target="#updateModal">
    <span class="bi bi-pen-fill"></span>
</button>
<div class="modal fade" id="updateModal" tabindex="-1" aria-labelledby="updateModalLabel" aria-hidden="true">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title" id="updateModalLabel">Update Facility</h5>
                <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
            </div>
            <div class="modal-body">
                <form method="post" action="<?php echo htmlspecialchars($_SERVER['PHP_SELF']); ?>">
                    <form class="form-inline" method="post" action="<?php echo $_SERVER['PHP_SELF']; ?> ">
                        <input name="titlUpdate" class="form-control rounded mb-2" placeholder="Title">
                        <input name="cateUpdate" class="form-control rounded mb-2" placeholder="Category">
                        <input name="descUpdate" class="form-control rounded mb-2" placeholder="Description">
                        <input name="statUpdate" class="form-control rounded mb-2" placeholder="Status">
                        <input name="strtUpdate" class="form-control rounded mb-2" placeholder="Street Name">
                        <input name="cntyUpdate" class="form-control rounded mb-2" placeholder="County">
                        <input name="townUpdate" class="form-control rounded mb-2" placeholder="Town">
                        <input name="postUpdate" class="form-control rounded mb-2" placeholder="Postcode">
                        <input name="contUpdate" class="form-control rounded mb-2" placeholder="Contributor">
                    </form>
                    <button type="submit" class="btn bg-primary btn-outline-primary text-light" name="updateButton">Update</button>
                </form>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-warning" data-bs-dismiss="modal">Close</button>
            </div>
        </div>
    </div>
</div>