Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Maps? Arrays? Psh.

View gist:3954605
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
/*
* Example field (aka columns) names and values, that will be used in the
* CAML query. The values are the attributes of a single list item here.
* If the field name contains a space in SharePoint, replace it
* here with _x0020_ (including underscores).
*/
$field1Name = "Name";
$field2Name = "Email";
$field3Name = "PhoneNumber";
$field4Name = "Department";
$field5Name = "Citizenship";
$field6Name = "DepartmentSponsor";
$field7Name = "Supervisor";
$field8Name = "ScienceQuestion";
$field9Name = "ResearchQuestion";
$field10Name = "PamisorFundNumber";
$field11Name = "LanguageBarrier";
$field12Name = "ExportControlledStamp";
$field13Name = "MilitaryQuestion";
$field14Name = "SignatureLink";
$field1Value = $name;
$field2Value = $email;
$field3Value = $phone;
$field4Value = $department;
$field5Value = $citizenship;
$field6Value = $departmentsponsor;
$field7Value = $supervisor;
$field8Value = $sciencequestion;
$field9Value = $researchquestion;
$field10Value = $pamisorfundnumber;
$field11Value = $languagebarrier;
$field12Value = $exportcontrolledstamp;
$field13Value = $militaryquestion;
$field14Value = $signaturelink;

Your code is bad and you should feel bad!

Bahaha! This is hilarious!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.