Ok here is my question
I have MySQL with the following order:
ids - radio - link - time - artist - title - disliked
ids is the ID of the Media
from page LISTEN.php I have random selection of video from the Database.
I have already created in LISTED.php to SHOW THE ID of the Video also the Artist and Title.
**I need to have a button on LISTEN.php where when somebody clicks it for example the name of the button - > Dislike
so if someone clicks it AJAX or SOMEHOW not to refresh the page but in the same time when the DISLIKE button is clicked to Update in the MySQL (once again without refreshing the page) to Disliked - 1, (when this button is pressed again for the same video to update to 2 / 3 / 4 and so on. Right now all of my videos are 0.
I need to be able to View not LIKED videos, for example
select * from RANDOM where DISLIKED is Higher number then >0**
I am not a very good in PHP so please help me, one more time the PAGE SHOULD NOT REFRESH.
Your help would be greatly appreciated.
Aucun commentaire:
Enregistrer un commentaire