I'm working on a script and I need to insert text near the top of an HTML file
I opened the file with r+ and i have the script fseek to the right spot, and i need to insert a new line here, and I mean new line in the source code, not a <br> line break.
I tried
echo "/n/r";
and
fwrite($file, "/n/r");
and neither one works. In fact, they seem to insert these weird symbols into the source code, and the other fwrite functions overwrite the text already there, which is what i want to stop.
What am I missing here?