There are 3 files involved here: coordinates_update.html, passitalong.js, and dbquery.php
Coordinates update includes jquery,javascript, and passitalong.js, when a button is pressed it gets a bunch of variables and calls function in passitalong.js while passing the variables to this function. I have confirmed this works via an alert statement. Pass it along.js now includes a line of ajax code to pass those variables to qbquery.php(meant eventually to query the database but for now it's just for testing). dbquery.php then uses a get statement to get the variables and it should echo it.
The problem is when it passes the variables to the PHP file nothing happens afterward. It dosen't echo any of the variables back or a test echo I put in it, and opening it does nothing. Here is the relevant code:
coordinates_update.html
updatedb(lat,lng,street); //all declared and working
passitalong.js
$.get("dbquery.php", {latitude: lat}, {longitude: lng}, {id:street} );
qbquery.php
<?php
$longitude = $_GeT['longitude'];
$latitude = $_Get['latitude'];
$street= $_Get['id'];
echo "test";
echo $street;
?>
Any clue what is wrong?