Issue with sending data to PHP from JQuery
<p>I am trying to send data from Jquery to PHP. This is what I have:</p>

<pre><code>var jsonArray = JSON.stringify(dataArray);

            $.ajax({
                type: "POST",
                url: "addcar_details.php",
                data: {data : jsonArray},
                dataType: "json",
                success: function(data) {
                    console.log("sent");
                }
            });
</code></pre>

<p>I am trying to see what I have got in the "$_POST" from the  "addcar_details.php" file. It is empty and I am not sure what I am missing for this to be working. </p>

<p>Thanks in advance :)</p>