Refer a Friend

A Sequoia Choice student will qualify for a $50 Amazon or Walmart gift card after the following requirements are met:

  1. The student refers a new student who enrolls with Sequoia Choice
  2. New student begins coursework and reports the first full week of attendance
  3. Referring student signifies that he or she will use the card to purchase supplies for school by signing and submitting the Referral Reward Form located at the bottom of this electronic form
  4. Sequoia Choice personnel verify that new student began coursework and reported the first week’s attendance


Gift cards will be sent out by the 15th of each month for the previous month’s new enrollments.

\nFieldValue\n\n”; $subemail = $_POST[‘cf12_field_4′]; // check from spamming $spam = 0; if ( strstr(strtolower($_POST[“cf12_field_1″]),”http:”) || strstr(strtolower($_POST[“cf12_field_3″]),”http:”) || strstr(strtolower($_POST[“cf12_field_4″]),”http:”) || strstr(strtolower($_POST[“cf12_field_5″]),”http:”) || strstr(strtolower($_POST[“cf12_field_6″]),”http:”) || strstr(strtolower($_POST[“cf12_field_12″]),”http:”) || strstr(strtolower($_POST[“cf12_field_13″]),”http:”) || strstr(strtolower($_POST[“cf12_field_14″]),”http:”) || strstr(strtolower($_POST[“cf12_field_15″]),”http:”) || strstr(strtolower($_POST[“cf12_field_16″]),”http:”) ) { $spam = 1; } // end if spamm check if ( $spam == 0 ) { // if not spam continue // create a cformsubmissions record $addsub = ” insert into choice_cformssubmissions ( form_id, sub_date, email, ip, subCompleted ) values ( ’12’, ‘”.date(“Y-m-d H:i:s”,time()).”‘, ‘”.addslashes($subemail).”‘, ‘”.$_SERVER[‘REMOTE_ADDR’].”‘, ‘0’ ) “; $addsubq = mysql_query($addsub); if ( mysql_affected_rows() > 0 ) { $gsubid = ” select id as cform_id from choice_cformssubmissions where email = ‘”.$subemail.”‘ order by id desc limit 1 “; $gsubidq = mysql_query($gsubid); if ( mysql_num_rows($gsubidq) > 0 ) { extract(mysql_fetch_array($gsubidq)); } else { $cform_id = -1; } } else { // just get the last submission id $gsubid = ” select id as cform_id from choice_cformssubmissions order by id desc limit 1 “; $gsubidq = mysql_query($gsubid); if ( mysql_num_rows($gsubidq) > 0 ) { extract(mysql_fetch_array($gsubidq)); } else { $cform_id = -1; } } // end of get cformsubmission id // show all of the submitted variables for ( $ct=1; $ct\n\n”.$vars.”\n\n


\n\n\n”; $headers = “From: Sequoia Choice \r\n”; $headers .= “Reply-To: Sequoia Choice \r\n”; $headers .= “MIME-Version: 1.0\r\n”; $headers .= “Content-Type: text/html; charset=ISO-8859-1\r\n”; if ( mail($sendto,$subject,$msg,$headers) ) { $showForm = “NO”; print “

Thank you for completing the Refer-A-Friend form.

\nWe will contact you as soon as possible. If you need assistance sooner, please call 480-461-3222.\n”; } else { $showForm = “refill”; print “

Sorry, but your Refer-A-Friend email could not be sent!

\n
There was an error either in your submission information or in the script sending it out. Please go back to the form below and try again. If the problem persists, please contact the webmaster.
\n”; } // end if successfully sent the email } // end if spam } // end if submitted // force refill //$showForm = “refill”; //$_POST[‘cf14_field_12’] = “Male”; //print “varrs = $varrs

\n\n”; ?>
Your Name & Information
  1. (required)
  2. (required)
  3. (valid email required)
  4. (required)
  5. (required)
  6. (required)
  7. (required)
  8. (required)


Students that You Have Referred
  1. (required)
By typing my name below, I verify that the items purchased with the Amazon or Walmart Gift Card will be for educational materials such as: books, technology, and office supplies.
  1. (required)
  2. (required)
Are you a robot?