For me it is unclear how to get the $_POST['currentNumber'] from the php script in a way I can send it with mysql queries to the database.
Am I right that the jquery part here is only capable of adding a value to the post value $_POST['currentNumber'] ?
And am I right that if I want to send the same counter value to the database table I should deliver it in another way? If so, can someone explain how this data can be send to PHP to make a database entry?