Data not inserting in WordPress database

I am having trouble inserting data into my WordPress database using the following code. The issue is that when I insert data, the same page reloads and the data is not being added.

<?php get_header(); ?>
<div class="content">
    <form>
        Job Title: <input type="text" name="jtitle"><br><br>
        Job Link: <input type="text" name="jlink"><br><br>
        Job Last date: <input type="text" name="jld"><br><br>
        <input type="submit" value="Add Job" name="insert"><br><br>
    </form>
    <?php
    if (isset($_POST['insert'])) {
        $jt=$_POST['jtitle'];
        $jl=$_POST['jlink'];
        $jld=$_POST['jld'];

        global $wpdb;
        $sql=$wpdb->insert("wp_job",array("jtitle"=>$jt,"jlink"=>$jl,"jld"=>$jld));
        if ($sql==true) {
            echo "<script>alert('New Job Added')</script>";
        }
        else {

            echo "<script>alert('New Job Not Added!')</script>";
        }
    }
    ?>
</div><!-- .content /-->

I am having trouble inserting data into my WordPress database. When I try, the same page reloads and the data is not added.

<?php get_header(); ?>
<div class="content">
    <form>
        Job Title: <input type="text" name="jtitle"><br><br>
        Job Link: <input type="text" name="jlink"><br><br>
        Job Last date: <input type="text" name="jld"><br><br>
        <input type="submit" value="Add Job" name="insert"><br><br>
    </form>
    <?php
    if (isset($_POST['insert'])) {
        $jt=$_POST['jtitle'];
        $jl=$_POST['jlink'];
        $jld=$_POST['jld'];

        global $wpdb;
        $sql=$wpdb->insert("wp_job",array("jtitle"=>$jt,"jlink"=>$jl,"jld"=>$jld));
        if ($sql==true) {
            echo "<script>alert('New Job Added')</script>";
        }
        else {

            echo "<script>alert('New Job Not Added!')</script>";
        }
    }
    ?>
</div><!-- .content /-->

I am having an issue inserting data into my WordPress database. When I attempt to insert data, the same page reloads and the data is not being added.

<?php get_header(); ?>
<div class="content">
    <form>
        Job Title: <input type="text" name="jtitle"><br><br>
        Job Link: <input type="text" name="jlink"><br><br>
        Job Last date: <input type="text" name="jld"><br><br>
        <input type="submit" value="Add Job" name="insert"><br><br>
    </form>
    <?php
    if (isset($_POST['insert'])) {
        $jt=$_POST['jtitle'];
        $jl=$_POST['jlink'];
        $jld=$_POST['jld'];

        global $wpdb;
        $sql=$wpdb->insert("wp_job",array("jtitle"=>$jt,"jlink"=>$jl,"jld"=>$jld));
        if ($sql==true) {
            echo "<script>alert('New Job Added')</script>";
        }
        else {

            echo "<script>alert('New Job Not Added!')</script>";
        }
    }
    ?>
</div><!-- .content /-->

I am having trouble inserting data into my WordPress database using the code provided. When I attempt to insert data, the same page reloads and the data is not added.

The issue is that the form is not using the POST method. Change the form tag to use the POST method as follows:

<form method="post">

This will allow the data to be submitted via POST and be processed in the PHP code.