I want to know how to put the content inside an array into a variable for example:
in my array $result i have this
[0] => One
[1] => Two
[2] => Three
What i now want to do is to save this order into a variable. Can anyone help with the coding?
EDIT:
What i mean is i want to save the order ONE, TWO, THREE
Then i want to creata another order as TWO, ONE, THREE
I can’t tell if you want to save the content or the key into a string, in the case of the content, use something like this:
if on the other hand you want the keys, try this: