Quote:
Originally Posted by potter
I'd want to use jquery to be honest. With .click() on the #linkid to add one to the number of "likes".
? Store # of likes in some type of database.
? On page load, php grabs database number, and sets it as variable and prints it to the little link on the page stating how many likes it has
? Use jquery .click() to run a function on the like link, which has ajax update the database number and refresh the "like number" on the page without reloading the page.
That's going to be your best and easiest solution. Sorry I don't have time to write it up myself. Maybe at the end of the day if no one else provides you with the code.
|
This could help me for new "likes", but not for existing ones. Correct?
Quote:
Originally Posted by CaptainHowdy
No lo sé, solo estoy seguro de que mañana RUSH la va a romper...
|
Sí que sí. Ya tengo mi entrada
