Create function to convert an array a list

Convert values of an array to a list "quoted" by the character specified as the second $quote parameter. 

This function allows us to convert arrays of data (of type string) into MySQL query parameter. 

This way we can pass an array of values, rather than typing them out ourselves and typing quotes around them.