0
cant get this php to echo the folder its appending to
im having this php append to a file and then having the file append to the page to check to make sure the function works correctly but i cant get the appended file to echo on the page https://code.sololearn.com/wuqhix726y73/?ref=app
5 Answers
+ 1
Mirielleđ¶ [Inactive]
What's the necessity of heredoc in your code? in the OP's code he intended to read the file and display the content on screen, wouldn't the heredoc style introduce an extra line break?
+ 1
0
i got a bit lost at the use of <<<_END. i went to my notes to review but i couldnt uncover it but excuse me if i sound silly but is that not the means of writting python? i havent learned python yet but i remember ome day me and my sister talking about it and i recall the script being written in such a way....
0
ipang u called it heredoc???
0
neither wasni familiar with the "or die" insert on the fopen function