user_login . ‘
‘;
echo ‘User email: ‘ . $current_user->user_email . ‘
‘;
echo ‘User first name: ‘ . $current_user->user_firstname . ‘
‘;
echo ‘User last name: ‘ . $current_user->user_lastname . ‘
‘;
echo ‘User display name: ‘ . $current_user->display_name . ‘
‘;
echo ‘User ID: ‘ . $current_user->ID . ‘
‘;
*/

echo ‘‘;

$instructors = $wpdb->get_results(“SELECT * FROM instructorsSec WHERE wp_id = $current_user->ID ;”);
$rowCount = $wpdb->num_rows;

if($rowCount == 1) {

$instructor = $instructors[0];

$instructorID = $instructor->instructorIDnumber;
$name = $current_user->display_name;
$bsaID = $instructor->bsaID;
$emailAddress = $current_user->user_email;
$district = $instructor->district;
$phoneNumber = $instructor->phoneNumber;
$nraExpire = $instructor->nraExpire;
$nraNumber = $instructor->nraNumber;
$archeryExpire = $instructor->archeryExpire;
$archeryIDnumber = $instructor->archeryIDnumber;
$ssdExpire = $instructor->ssdExpire;
$rangemasterExpire = $instructor->rangemasterExpire;
$ssd = $instructor->ssd;
$rangemasterArchery = $instructor->rangemasterArchery;
$rangemasterBB = $instructor->rangemasterBB;
$archeryL1 = $instructor->archeryL1;
$archeryL2 = $instructor->archeryL2;
$archeryL2IT = $instructor->archeryL2IT;
$archeryL3 = $instructor->archeryL3;
$archeryL3NTS = $instructor->archeryL3NTS;
$archeryL4 = $instructor->archeryL4;
$archeryL4NTS = $instructor->archeryL4NTS;
$archeryL5NTS = $instructor->archeryL5NTS;
$nraRifle = $instructor->nraRifle;
$nraShotgun = $instructor->nraShotgun;
$nraPistol = $instructor->nraPistol;
$nraTC = $instructor->nraTC;
$nraCAsst = $instructor->nraCAsst;
$nraRSO = $instructor->nraRSO;
$nraCRSO = $instructor->nraCRSO;
$nraMuzzel= $instructor->nraMuzzel;
$nraCoopMuzzel = $instructor->nraCoopMuzzel;
$nraCAppt = $instructor->nraCAppt;
$airSoft = $instructor->airSoft;
$airSoftExpire = $instructor->airSoftExpire;
$pistolMarksman = $instructor->pistolMarksman;
$pistolMarksmanExpire = $instructor->pistolMarksmanExpire;

} else {
// case for brand new registration
$name = $current_user->display_name;
$emailAddress = $current_user->user_email;
$bsaID = ‘0’;
$district = ‘your district name’;
$phoneNumber = ‘000-000-0000’;

$nraExpire = ‘mm/dd/yyyy’;
$nraNumber = ‘0’;
$archeryExpire = ‘mm/dd/yyyy’;
$archeryIDnumber = ‘0’;
$ssdExpire = ‘mm/dd/yyyy’;
$rangemasterExpire = ‘mm/dd/yyyy’;
$ssd = ‘n’;
$rangemasterArchery = ‘n’;
$rangemasterBB = ‘n’;
$archeryL1 = ‘n’;
$archeryL2 = ‘n’;
$archeryL2IT = ‘n’;
$archeryL3 = ‘n’;
$archeryL3NTS = ‘n’;
$archeryL4 = ‘n’;
$archeryL4NTS = ‘n’;
$archeryL5NTS = ‘n’;
$nraRifle = ‘n’;
$nraShotgun = ‘n’;
$nraPistol = ‘n’;
$nraTC = ‘n’;
$nraCAsst = ‘n’;
$nraRSO = ‘n’;
$nraCRSO = ‘n’;
$nraMuzzel= ‘n’;
$nraCoopMuzzel = ‘n’;
$nraCAppt = ‘n’;
$airSoft = ‘n’;
$airSoftExpire = ‘mm/dd/yyyy’;
$pistolMarksman = ‘n’;
$pistolMarksmanExpire = ‘mm/dd/yyyy’;
}

?>

Contact Information

Your name*: $name

Your name*: ‘ . $name . ‘
‘ ?>
Your email address*: ‘ . $emailAddress . ‘
‘ ?>


‘>


* – change this information in your account profile


NRA Certifications

/> Yes
/> No

/> Yes
/> No

/> Yes
/> No

/> Yes
/> No

/> Yes
/> No

/> Yes
/> No

/> Yes
/> No

/> Yes
/> No

/> Yes
/> No

/> Yes
/> No


‘>


Archery Certifications

/> Yes
/> No

/> Yes
/> No

/> Yes
/> No

/> Yes
/> No

/> Yes
/> No

/> Yes
/> No

/> Yes
/> No

/> Yes
/> No


‘>


BSA Certifications

/> Yes
/> No

/> Yes
/> No


/> Yes
/> No


/> Yes
/> No


/> Yes
/> No


Submit