I have an array of strings in PHP like this:
people = array("John","Kim");
I want to convert each of those strings into arrays themselves. Basically, I now want a 2-dimensional array like
people(John[],Kim[]);
I’ve been struggling with the implementation and am not sure how to do it.
1 Answer