title: How show a automatic message after submit a form
body: <p>I created a contact-form with username, email and a message.</p>
  <p>Here is my code;</p>
  <pre><code>&lt;form  action=&quot;thanks.php&quot;  method=&quot;post&quot;&gt;
  &lt;div&gt;
    &lt;label  for=&quot;nom&quot;&gt;Nom :&lt;/label&gt;
    &lt;input  type=&quot;text&quot;  id=&quot;nom&quot;  name=&quot;user_name&quot;&gt;
  &lt;/div&gt;
  &lt;div&gt;
    &lt;label  for=&quot;courriel&quot;&gt;Courriel :&lt;/label&gt;
      &lt;input  type=&quot;email&quot;  id=&quot;courriel&quot;  name=&quot;user_email&quot;&gt;
  &lt;/div&gt;
  &lt;div&gt;
      &lt;label for=&quot;phone&quot;&gt;Numéro de téléphone&lt;/label&gt;
      &lt;input type=&quot;text&quot; id=&quot;phone&quot; name=&quot;phone_number&quot;&gt;
  &lt;/div&gt;
  &lt;div&gt;
    &lt;label  for=&quot;message&quot;&gt;Message :&lt;/label&gt;
    &lt;textarea  id=&quot;message&quot;  name=&quot;user_message&quot;&gt;&lt;/textarea&gt;
  &lt;/div&gt;
  &lt;div  class=&quot;button&quot;&gt;
    &lt;button  type=&quot;submit&quot;&gt;Envoyer votre message&lt;/button&gt;
  &lt;/div&gt;
  &lt;/form&gt;
  </code></pre>
  <p>and I am looking for a solution after submitted this form, to make show a message with username, email and user's message.
  something like;</p>
  <pre><code>&quot;hi {username}, thank you for your message. we'll contact you by your {email} after reviewed your message&quot;
  </code></pre>
  <p>I would like to know how I can make a new php page to show these details.</p>