Hello everyone im working on like button which im a little confuzed with my problem i have this sql and im only able to like the tickets which are in my account
$sql = "UPDATE `kladilnica` SET Liked = Liked+1 WHERE ticket_id = '".$like."' AND Username = '".$user."'";
but without this line AND Username = '".$user."'
im able to like all the tickets with one button click, can someone help me how i can solve this ?
-Thank you :)