title: Array_rand no duplicate then you refresh page
body: <p>How to do <code>array_rand</code> with no duplicates then you refresh page?</p>
  
  <p>What I mean is when your form submit, this question is deleted, when refresh the page it's not seen.</p>
  
  <pre><code> if($action == "first")
      {
          $arrQuote = array();
          $arrQuote[0] = '    
                  &lt;form method="post" action="index.php?action=second" class="form-inline"&gt;
                      &lt;h2&gt;Ar var yra geras dalykas&lt;/h2&gt;
                      &lt;div class="form-group"&gt;
                          &lt;input type="text" class="form-control" name="klausimas_1"&gt;
                      &lt;/div&gt;
                      &lt;button type="submit" name="submit_1" class="btn btn-default"&gt;Add Task&lt;/button&gt;
                  &lt;/form&gt;     &gt;';
          $arrQuote[1] = '
                  &lt;form method="post" action="index.php?action=second" class="form-inline"&gt;
                      &lt;h2&gt;Ar int yra geras dalykas&lt;/h2&gt;
                      &lt;div class="form-group"&gt;
                          &lt;input type="text" class="form-control" name="klausimas_2"&gt;
                      &lt;/div&gt;
                      &lt;button type="submit" name="submit_2" class="btn btn-default"&gt;Add Task&lt;/button&gt;
                  &lt;/form&gt;             ';
          echo $arrQuote[array_rand($arrQuote)];  
      }
  </code></pre>