You should really think about storing things in a db...mysql's free and
easy to use and install, and will save you lots of time (especially with
this kind of question)

If you're only trying to add something to line one, you could open a
file, read it, open a new one, print whatever you need to add to the new
one concatenated with the old line one, then the rest of the file...if
you have a specific line number it'll be harder...

Switching to a db is well worth it, believe me.....

-----Original Message-----
From: Kyle Smith [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, September 12, 2001 11:53 PM
To: [EMAIL PROTECTED]
Subject: [PHP] I am making a mailing list but....

..... how do i make php add something to a text document on the smae
line cause i need the text document to look like this

[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED];

so well, how do i get it to add on to line 1 and would i need it to make
the ";" go on the last line cause php cat delete things in txt
documents?


-lk6-
http://www.StupeedStudios.f2s.com
Home of the burning lego man!

ICQ: 115852509
MSN: [EMAIL PROTECTED]
AIM: legokiller666




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to