Ask Question
4 February, 15:27

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

Answers (1)
  1. L
    4 February, 17:32
    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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers
Sign In
Ask Question