If I want to store different strings in one variable I can do this:
$everything = $something.';'.some.';'.data1;
And if I want to have it back in the same structure I can do in that way:
$everything = explode (';', $everything);
$something = $everything[0];
$some = $everything[1];
$data1 = $everything[2];
And the question is: Is this possible to store an array values in the same way like mentioned above and use explode on them later?
$everything = $array1[].';'.somearray[].';'.data_array1[];
$everything = explode (';', $everything);
$array1[] = $everything[0];
Or it can be done in more easly that I don’t know yet?
It might be easier to serialize and unserialize the whole deal, like so:
That said, I don’t see why would you like to do that.