+ 3
Can anybody tell me how to append arrays to a file? Also how to get a list of arrays from a file?
I would like to append an array to a file, and then on a separate file, get a list of the 5 latest arrays, get their keys and values, and And put them in an easy to read message log. It is for a Siri shortcut I am making, it’s a chat program if that helps. Thank You!
4 Réponses
+ 2
A little more patience Dallas Griffith . After completing the PHP tutorial everything will be much clearer.
By the way here is valid first your own attempt is shown and then will be asked if it does not work as you want.
+ 1
I see the problem now.lol
0
It's not that simple to append arrays to a file since you'll have to store them as text which might cause a conversion to string error.I recommend just using session variables instead. (Referring to PHP).
0
how do i use session variables with siri shortcuts?