title: User id and databases php sql
body: <p>Im trying to make a page where a logged in user can create a post-it  note, and add it to the "post-it wall" Im using 3 tables in my database for this<a href="https://i.stack.imgur.com/tJxeE.png" rel="nofollow noreferrer"> One table for the post-it data, one for the post-it colors and a user table.</a></p>
  
  <p>My problem is that i cant figure out how i can store the id from the user in the postit users_id table so that it only can be the user that created the post-it that can delete it again. Any tips?</p>