basically im trying to make the ubiquitous “like button,” and update a MySQL table after its clicked without loading the page. I imagine this would use javascript, but I’m not sure how to access MySQL with javascript. Please answer for pure javascript only as I dont use JQuery. Thanks.
Share
You have to use Ajax to accomplish this task.
Check this tutorial too.