title: How to automatically generate a page after user fills a form via PHP?
body: <p>Let's say I have a form with two input fields, title and comment. After the user fills the two fields and submits the data, a page is automatically created that contains the title and comment that the user typed, in a folder located in root directory, for example, www.root.com/page/ will contain the automatically generated page.</p>
  
  <p>Update:</p>
  
  <p>I'd like the form data to be sent to an SQL table row with the url of the auto-generated page to be in the same SQL row as the title and comment.</p>
  
  <p>How do I do this via PHP?</p>