MCQs > IT & Programming > PHP 5 > You want to add a new line of text to existing file, what do you use? $data = 'some text'

PHP 5 MCQs

You want to add a new line of text to existing file, what do you use? $data = 'some text'

Answer

Correct Answer: file_put_contents('some_file.txt',$data,FILE_APPEND);

Explanation:

Note: This Question is unanswered, help us to find answer for this one

PHP 5 Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

PHP 5 Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it