This is the JavaScript:
var sendlat;
var sendlng;
var sendid;
// More code...
$.post('insert.php', {variable: sendlat});
$.post('insert.php', {variable: sendlng});
And this is the insert.php file:
$latitude = $_POST['sendlat'];
$longtitude = $_POST['sendlng'];
This is giving me 0 values. What do I need to change?