explode() doesn't eat any of your data. I won't suggest it if it can't get the data from $vboptions varible, absolutely. Of course if the data is entered correctly like if you use explode(',',$vboptions['something']) but you then will have to give some exceptions when someone suddenly enter 1,2-3,4 which returns unexpected value.
I regard the above is an example. if you don't know explode(), php.net then
|