title: System for keeping track of user favorites
body: <p>On my website, I have a table <code>movies</code> and a table <code>users</code></p>
  
  <p>I'm trying to have an "Add to favs" button that a user can click, which will add that movie to his favorites (ajax / javascript not necessary at the moment, just php).</p>
  
  <p>So what's the simplest way I could do something like that? I've thought about this but I can't seem to find a solution (all I think of is way too complicated, and in my opinion not possible).</p>
  
  <p>What's your thoughts?</p>
  
  <p>I don't need a ready-made script, just an idea that could get me working (although if you have an example of such script, I'd be happy to look at it).</p>
  
  <p>Thanks! </p>