|
database.inc.php - Database Functions
|
parseMultiple
Required Parameters: string $field
Optional Parameters: string $eliminate, bool $lowercase
Returns: array
Description: This function breaks down input from a textareaBox() into an array. Values can be separated either by commas or line breaks. Multiple line breaks are ignored and do not enter the resulting array. Another string to always remove from array elements can be specified by $eliminate. If array elements should always be converted to lowercase letters, the $lowercase variable should be set to TRUE.
function parseMultiple($value, $eliminate = '', $allowSpace = TRUE, $lowercase = FALSE)
|