Below is my PHP code. I think I'm close but I don't understand why when I click the submit button on the form it isn't entering my if (isset($_POST['addFormula'])) statement in my PHP code to perform the insert.
Here is my html code
<table style="width:100%">                  
    <tr>
        <td>
            <form method="post">
                <h3 style="color:#a5a5a5; margin:5px 0 0 0">Name:</h3>
                <input type="text" name="name"><br>
                <h3 style="color:#a5a5a5; margin:5px 0 0 0">Formula:</h3>
                <input type="text" name="formula"><br>
                <h3 style="color:#a5a5a5; margin:5px 0 0 0">Category:</h3>
                <input class="radio-button" type="radio" id="math" name="category" value="Math" checked>
                Math
                <input class="radio-button" type="radio" name="category" value="Physics">
                Physics
                <h3 style="color:#a5a5a5; margin:5px 0 0 0">Description:</h3>
                <textarea class="description-textarea" name="description" ></textarea><br>  
                <tr>
                    <td class="cancel-button"> 
                        <button type="button" id="cancelAdd">Cancel</button>    
                    </td>
                    <td class="save-button"> 
                        <button type="submit" name="addFormula" id="add">Save</button>
                    </td>
                </tr>
            </form>
        </td>
    </tr>                   
</table>
 
     
    