title: PHP: How can I take an input from the user, store it, and display it back?
body: <p>I've been trying to create some php code that would let me 
  take input from a user using a text box. I want to then store 
  that input (probably like 7 characters long) and then display it 
  on a page in a list format ( eg
  1
  2
  3
  )</p>
  
  <p>I've been at this for hours reading tutorials and what not but everything
  I find only shows me the fwrite function and when I try to append I still
  end up deleting data.</p>
  
  <p>I would like the newest inputs to show up on top of the list if possible.</p>
  
  <p>Can someone help me?
  I am really frustrated and I know almost no php.. kind of playing around
  with it and can't figure this out =/</p>
  
  <p>I was thinking of storing the input from users in an array, then display the array..
  But that doesn't work for me either.</p>