Ask Question

The code that follows saves the data that was in the $names array as

+1
Answers (1)
  1. 16 December, 21:40
    0
    The code

    $names = array ('joelmurach', 'rayharris', 'mikemurach');

    $names = implode ("/n", $names);

    file_put-contents ('usernames. txt', $names);

    saves the data as a string with data items separated by new line characters
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “The code that follows saves the data that was in the $names array as ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers