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

25th Oct 2019, 5:42 AM
Escobar
Escobar - avatar
7 odpowiedzi
+ 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?
25th Oct 2019, 10:41 AM
Ipang
25th Oct 2019, 1:32 PM
Ipang
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....
25th Oct 2019, 2:09 PM
Escobar
Escobar - avatar
0
ipang u called it heredoc???
25th Oct 2019, 2:10 PM
Escobar
Escobar - avatar
0
neither wasni familiar with the "or die" insert on the fopen function
25th Oct 2019, 2:11 PM
Escobar
Escobar - avatar