title: convert get to post in php
body: <p>how to convert this PHP code from using the $_GET method to $_POST</p>
  
  <pre><code>&lt;?php
  if (isset($_GET['submit'])) {
  if (checkCreditCard ($_GET['CardNumber'], $_GET['CardType'], $ccerror, $ccerrortext)) {
  $ccerrortext = 'This card has a valid format';
  } else {
   echo 'not working';
  }
  }
  ?&gt;
  </code></pre>