Raised This Month: $ Target: $400
 0% 

How to put text to the next line in file?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 08-15-2010 , 07:41   Re: How to put text to the next line in file?
Reply With Quote #6

Those are 5 returns and your code switches from one code to another, it doesn't stop at the second 'line' since you're setting that to false again.

And if you just want to add multiple lines with multiple different content you don't need any loop... just use fopen() and fprint() or just write_file() and it will write the data on a new line.
__________________
Hunter-Digital is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:51.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode