I need help please!!! am really stuck here!!!!

I am coding a site, i have coded many of them already, but this one seems to be a huge issue for me, i have been all day trying to debug this. I code the sites, but the forms are generated by my CRM software.

So this part of the code its theirs, any how it did work for me always, somehow now am having problems.

this is the code:

you will see here in the section this function: <?php if(isset($_GET['error_message'])) { echo '

' . $_GET['error_message'] . '
'; } ?>

then on the form right in top of the terms and conditions part you will see this function:

<?php foreach($_GET as $key => $value) { echo ""; } ?>

some how i have those functions, i have use them for at least 10 sites and it worked good, but this time there has to be something i did wrong. The problem is that when i go to the site, those functions show up, so that means that something has to be broken… Please some one has to help me!!

Thanks Federico

The whole code its down here!

Pro Slim Checkout Save 50%

JUST PAY $2.95 WITH PROMO CODE: SHIPSAVE

      <!-- - - - - - - - - - - FORM STARTS HERE - - - - - - - - - - --> 
      <img class="cards" src="images/card-flags.png" alt="Credit Cards" />
      
      
      <form id="Payment" name="Payment" action="https://www.supportur.com/index.php?main_page=two_step_form_processor" method="post">
        <p>Is your billing address the same<br />
          as your shipping address?</p>
        
        <fieldset>
          <div>
            <label for="cc_type"> Payment Type:</label>
           <select  onchange="payment_change(this)" onkeydown="this.onchange();" onkeyup="this.onchange();"  id="cc_type" name="cc_type" >
              <option value="">Select Payment Method</option>
              <option value = "master" >Master Card</option>
              <option value = "visa" >Visa</option>
              </select>
              
            </select>
          </div>
          <div>
            <label for='cc_number'>Credit Card Number:</label>
            <input type="text" maxlength="16" onkeydown="return onlyNumbers(event,'cc')" id="cc_number" name="cc_number" autocomplete="off"/>
          </div>
          <div>
           <label for="cc_expires"> Exp. Date:</label>
            <select name="fields_expmonth" onchange="javascript:update_expire()" id="fields_expmonth" class="input1">
       <option  selected  value="">Month</option>
		<option  value="01">(01) January</option>
		<option  value="02">(02) February</option>
		<option  value="03">(03) March</option>
		<option  value="04">(04) April</option>
		<option  value="05">(05) May</option>
		<option  value="06">(06) June</option>
		<option  value="07">(07) July</option>
		<option  value="08">(08) August</option>
		<option  value="09">(09) September</option>
		<option  value="10">(10) October</option>
		<option  value="11">(11) November</option>
		<option  value="12">(12) December</option>

           </select>&nbsp;&nbsp;
           
            <select name="fields_expyear" onchange="javascript:update_expire()" id="fields_expyear" class="input1">
              <option value='11' selected>2011</option>
              <option value='12'>2012</option>
              <option value='13'>2013</option>
              <option value='14'>2014</option>
              <option value='15'>2015</option>
              <option value='16'>2016</option>
              <option value='17'>2017</option>
              <option value='18'>2018</option>
              <option value='19'>2019</option>
              <option value='20'>2020</option>
              <option value='21'>2021</option>
              <option value='22'>2022</option>
              <option value='23'>2023</option>
              <option value='24'>2024</option>
              </select>
              <input type="hidden" id="cc_expires" name="cc_expires" />
          </div>
          <div>
           <label for='cc_cvv'>Security Code:</label>
            <input  autocomplete="off"  type="text" id="cc_cvv" name="cc_cvv" />
          </div>
        
        
        
      <input type='hidden' name = 'step' value='second' />
<?php foreach($_GET as $key => $value) { echo ""; } ?>
   <div class="agree-check">
          
          <input type="checkbox" name="f-agree" />
          <label for="f-agree">I am 18 years of age and agree to the <a href="#" style="color:#fff">Privacy Policy</a> and <a href="#" style="color:#fff">Terms &amp; Conditions</a> of the site</label>
        </div>  

  
	<input id='f-submit' type='submit' onclick='form_validator();' />
Sponsor our Newsletter | Privacy Policy | Terms of Service