title: I want to storage data from html forms. But I want to make it saved to a local file (a text or csv file - for categorization - )
body: <p>I have a project which is for saving some films that i watched. Its a listing website.
  Part 1# (Entry Panel) I will have a panel which includes a form that i input the film's specifications(name,category,actors etc.). Then when i click the submit button it will save the data locally (in a csv or txt file). Of course i should be able to append new films to that file.
  Part 2# (viewer) And in the main page i need to see the films as lines in a HTML table. The table will be filled by the datas from the file i saved (Js loops will be needed i guess). If that topic is different than i ask, if there is another way, please manage me how to search. Im thinking that i must learn SQL for more complicated data storages.
  Here is the simple website:</p>
  <pre><code>   &lt;!DOCTYPE html&gt;
      &lt;html&gt;
      &lt;head&gt;
          &lt;title&gt;Film Lister&lt;/title&gt;
      &lt;/head&gt;
      &lt;body&gt;
      
      &lt;form&gt;
          &lt;input type=&quot;text&quot; name=&quot;movie-name&quot;&gt;
          &lt;input type=&quot;text&quot; name=&quot;movie-category&quot;&gt;
          &lt;button type=&quot;submit&quot;&gt;Append the movie to file&lt;/button&gt;
      &lt;/form&gt;
      
      &lt;table id=&quot;showcase&quot;&gt;
          &lt;tr class=&quot;movie&quot;&gt;
              &lt;td class=&quot;movie-spec&quot;&gt;&lt;/td&gt;
              &lt;td class=&quot;movie-spec&quot;&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr class=&quot;movie&quot;&gt;
              &lt;td class=&quot;movie-spec&quot;&gt;&lt;/td&gt;
              &lt;td class=&quot;movie-spec&quot;&gt;&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/table&gt;
      
      &lt;script type=&quot;text/javascript&quot;&gt;
          
          //The part i need help
      
      &lt;/script&gt;
      &lt;/body&gt;
      &lt;/html&gt;
  </code></pre>