title: Accessing MySQL through Javascript via PHP
body: <p>When any user logs in, I just want to send 2 parameters to PHP and then want to update related DB table. Is it possible in javascript? If possible any sample code or links appreciated.</p>