".mysql_error()); mysql_select_db( "offsetco_cfo" ) or die("Error getting db:

".mysql_error()); $cccheck=mysql_query("SELECT * FROM coupons WHERE coupon_code = '$couponcode' LIMIT 1"); $num_rows = mysql_num_rows($cccheck); if ($num_rows > 0) { $return=true; while($row = mysql_fetch_array( $cccheck )) { $rec_price=$row['rec_price']; $cer_price=$row['cer_price']; $discount=$row['discount']; } } return $return; } if ($_POST['coupon']){ if (checkcoupon($_POST['coupon'])) { $couponcode = $_POST['coupon']; echo 'Valid Coupon'; // Perform New Cert Value Assignments Below This Line // $xx = mysql_connect ( "localhost" , "offsetco_cfousr" , "qrit@saO{t[L" ) or die("Error connecting:

".mysql_error()); mysql_select_db( "offsetco_cfo" ) or die("Error getting db:

".mysql_error()); $cccheck=mysql_query("SELECT * FROM coupons WHERE coupon_code = '$couponcode' LIMIT 1"); $num_rows = mysql_num_rows($cccheck); while($row = mysql_fetch_array( $cccheck )) { $newrec_price=$row['rec_price']; $newcer_price=$row['cer_price']; $newdiscount=$row['discount']; } if ($newdiscount) { $discount = ($newdiscount / 100); $recvalue = format_number($baserec - ($baserec * $discount)); $cervalue = format_number($basecer - ($basecer * $discount)); } if ($newrec_price) { $recvalue = $newrec_price; } if ($newcer_price) { $cervalue = $newcer_price; } // Perform New Cert Value Assignments Above This Line // $couponapplied=$_POST['coupon']; } else { ?> Carbon Footprint Offsetters

Review Your Carbon Footprint

You require Carbon Offset Certificates to offset your Total Carbon Footprint.

Please select your certificate type below and click Buy Now! to purchase your Carbon Footprint Offset.