I have a form in html that will take a huge string separated with white space, comma and a white space afterward, and each item is surrounded with quotation marks like so:
$s = '"info1" , "info2"'; //and so on
So my question is how would I make a new array variable and set the information in the string to be the information in the array? basically making something like this:
$array_ex = array("info1", "info2"); //of course there is going to be
//way more than 2 items
Is it possible?
Thanks!
1 Answer