title: passing hidden input value by using php
body: <p>The code should show the value in the function when I click "submit". Here is the code below:</p>
  
  <pre><code>  &lt;form method="post"&gt;
    &lt;input type="hidden" name="HDN_FormClicked" value= &lt;?php echo $clicked ?&gt; /&gt;
     &lt;?php 
     if($_POST){
       $clicked= "You have clicked the button";}
       ?&gt;
    &lt;input class="button" type="submit"/&gt;
    &lt;/form&gt;
  </code></pre>
  
  <p>Do I need to use $_get to make the code work?</p>