The compact() function creates an array from variables and their values.
Note: Any strings that does not match variable names will be skipped.
The output of the code above will be:
Using a string that does not match a variable, and an array of variable names:
Your Query was successfully sent!