title: PHP help - save/write
body: <p>I'm new to this site and new to <code>PHP</code>, although I already know some <code>HTML</code>.</p>
  
  <p>But, let's get to the point... I want to design a website where there are 2 buttons, one for present and one for absent. When clicked on one of those buttons, there needs to be a file saved with this data in it.</p>
  
  <hr>
  
  <p><strong>A little explanation:</strong></p>
  
  <p>PersonX sees a name, clicks on the button PRESENT. A file is created where the name + PRESENT/ABSENT is showed. PersonX sees another name, clicks on the button ABSENT, in the same file that was created, there's another name with the data in it.</p>