I also think this code needs to be part of the function, and not external.
# Split the result up and extract only the desired parts of it. $wanted = explode(',', $options['items']);
since the script server will complain if the returned text is too long
I also think this code needs to be part of the function, and not external.
# Split the result up and extract only the desired parts of it.
$wanted = explode(',', $options['items']);
since the script server will complain if the returned text is too long