Make A New Line In A Text File

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Quazel
Forum Commoner
Posts: 25
Joined: Thu Mar 18, 2010 7:12 pm
Location: Edina, Minnesota

Make A New Line In A Text File

Post 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]
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: Make A New Line In A Text File

Post 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
Quazel
Forum Commoner
Posts: 25
Joined: Thu Mar 18, 2010 7:12 pm
Location: Edina, Minnesota

Re: Make A New Line In A Text File

Post by Quazel »

I love you to
User avatar
Jonah Bron
DevNet Master
Posts: 2764
Joined: Thu Mar 15, 2007 6:28 pm
Location: Redding, California

Re: Make A New Line In A Text File

Post by Jonah Bron »

Spelling error: in this situation it's two 'o's in too.
Post Reply