I would like to be able for someone to copy and paste multiple strings in a message box and return the appropraite data for instance:
apples oranges pears
After clicking submit I would like to see the results for each. The reason for this is I would like to be able to have a user copy and paste excel data in the text box so they do not have to search for items indivudually. I'm not sure if php could break the strings into an array from the form and then perform a while on each.
Any ideas?
maybe this is what you want:
$array= split('[^[:alnum:]]{1,}', trim($string));
you just need to sperate the words by any non alphanumeric char, like a " ", ";", "," or whatever...