How to get javascript variable value in PHP and php value stored in to database.
if my JS code like
var age = new Date().getFullYear()-getYearInteger();
This code o/p 2016-(yearofbirth). I am getting output correct in JS. How to store this age value in MySQL database. How to call ajax function and insert the values?