I have this Code, which is based in a File named trainerModuleView.php and i need the variable lastDeletedUser in a File named database.php
echo '<script>
$.ajax({
url: "trainerModulview.php?groupID="+$currentGroupID+"&lastDeletedUser="+$id,
success: function(data) {
},
});
</script>';
I have a Group with students and if i delete one of them, i would like to have the variable in my URL, so i can $_GET['lastDeletedUser'] it later in the database.php. The problem is though, that the URL doesn't even change.
Pls halp Thanks in advance