Page 1 of 1

Make A New Line In A Text File

Posted: Wed Sep 08, 2010 9:06 pm
by Quazel
I need a php script that would take a text file and create a new line and write "0".

Like This:
Text Before:
[text]
stuff
other stuff
more stuff
even more stuff
[/text]
Text After:
[text]

stuff
other stuff
more stuff
even more stuff
[/text]

Re: Make A New Line In A Text File

Posted: Thu Sep 09, 2010 12:27 am
by requinix
If you need the script then you best start writing it. Oh, wait. Are you expecting us to do it for you?

file_get_contents, file_put_contents

Re: Make A New Line In A Text File

Posted: Thu Sep 09, 2010 5:25 pm
by Quazel
I love you to

Re: Make A New Line In A Text File

Posted: Thu Sep 09, 2010 6:10 pm
by Jonah Bron
Spelling error: in this situation it's two 'o's in too.