129
rated 0 times
[
135]
[
6]
/ answers: 1 / hits: 26058
/ 13 Years ago, sun, august 14, 2011, 12:00:00
:)
I'm hoping to make a very simple rating system. It won't consist of anything like averages, it's literally vote up or vote down, so if there's more votes down it'll go into a minus stance.
What I'd like is for when the links to vote up/down are clicked, the page isn't refreshed, just that rating number. I'm guessing I can do this with JavaScript's append once it calls the new data, however I've no idea how to run the MySQL query with JavaScript.
From what I understand, this isn't all that safe so I'm hoping I can run it from a PHP file?
Can anyone tell me how to do this please?
More From » php