RLJ Posted December 6, 2010 Share Posted December 6, 2010 Hi, just a very simple question: I have an array as follows: $langList = array('English', 'French', 'German', 'Dutch'); What's the easiest way to store this array in an external file, so that multiple php scripts can access its contents? And what is then the php line I need to retrieve the array from the external file? Thanks! Quote Link to comment Share on other sites More sharing options...
kenrbnsn Posted December 6, 2010 Share Posted December 6, 2010 You would using an include file. Ken Quote Link to comment Share on other sites More sharing options...
RLJ Posted December 10, 2010 Author Share Posted December 10, 2010 Cheers! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.